Skip to content

Commit

Permalink
make work with default domain
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelis0x committed Feb 12, 2025
1 parent ea93994 commit 90e0413
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 56 deletions.
1 change: 0 additions & 1 deletion apps/yield-migrator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.4.0",
"react-router-dom": "^7.1.5",
"viem": "2.x",
"wagmi": "2"
},
Expand Down
3 changes: 0 additions & 3 deletions apps/yield-migrator/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import App from "./App";

import "@rainbow-me/rainbowkit/styles.css";

createRoot(document.getElementById("root")!).render(
<StrictMode>
<BrowserRouter basename={import.meta.env.VITE_BASE_PATH}>
<App />
</BrowserRouter>
</StrictMode>,
);
9 changes: 9 additions & 0 deletions apps/yield-migrator/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"trailingSlash": false,
"rewrites": [
{
"source": "/yield/:path*",
"destination": "/:path*"
}
]
}
52 changes: 0 additions & 52 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90e0413

Please sign in to comment.