We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 713f77f + 14c5cba commit cf44705Copy full SHA for cf44705
apps/staking/next.config.js
@@ -53,13 +53,19 @@ export default {
53
},
54
],
55
56
- async rewrites() {
57
- return [
58
- {
59
- source: "/api/publishers-ranking",
60
- destination:
61
- "https://web-api.pyth.network/publishers_ranking?cluster=pythnet",
62
- },
63
- ];
64
+ rewrites: () => [
+ {
+ source: "/api/publishers-ranking",
+ destination:
+ "https://web-api.pyth.network/publishers_ranking?cluster=pythnet",
+ },
+ ],
+
+ redirects: () => [
65
66
+ source: "/test",
67
+ destination: "https://staking-legacy.pyth.network/test",
68
+ permanent: false,
69
70
71
};
0 commit comments