|
|
@@ -53,13 +53,19 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
|
|
|
- async rewrites() {
|
|
|
- return [
|
|
|
- {
|
|
|
- source: "/api/publishers-ranking",
|
|
|
- destination:
|
|
|
- "https://web-api.pyth.network/publishers_ranking?cluster=pythnet",
|
|
|
- },
|
|
|
- ];
|
|
|
- },
|
|
|
+ rewrites: () => [
|
|
|
+ {
|
|
|
+ source: "/api/publishers-ranking",
|
|
|
+ destination:
|
|
|
+ "https://web-api.pyth.network/publishers_ranking?cluster=pythnet",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+
|
|
|
+ redirects: () => [
|
|
|
+ {
|
|
|
+ source: "/test",
|
|
|
+ destination: "https://staking-legacy.pyth.network/test",
|
|
|
+ permanent: false,
|
|
|
+ },
|
|
|
+ ],
|
|
|
};
|