Skip to content

Commit fb198a7

Browse files
committed
updating for deployment
1 parent 678aaf4 commit fb198a7

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"predeploy": "npm run build",
9-
"deploy": "gh-pages -d dist",
108
"build": "tsc -b && vite build",
119
"lint": "eslint .",
1210
"preview": "vite preview"

src/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "bootstrap/dist/css/bootstrap.min.css";
77

88
createRoot(document.getElementById("root")!).render(
99
<React.StrictMode>
10-
<BrowserRouter basename="/algorithm-visualizer">
10+
<BrowserRouter>
1111
<App />
1212
</BrowserRouter>
1313
</React.StrictMode>

vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ import tailwindcss from "@tailwindcss/vite";
55
// https://vite.dev/config/
66
export default defineConfig({
77
plugins: [react(), tailwindcss()],
8-
base: "/algorithm-visualizer",
98
});

0 commit comments

Comments
 (0)