Skip to content

Commit

Permalink
Merge pull request #442 from polkadot-fellows/nik-fix-deployed-page
Browse files Browse the repository at this point in the history
Fix deployed first page
  • Loading branch information
wirednkod authored Aug 10, 2024
2 parents 7228203 + 3b9c6b9 commit 5bb11e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"postinstall": "papi",
"dev": "vite",
"build": "tsc && vite build",
"build:pages": "tsc && vite build --base '/'",
"build:pages": "tsc && vite build --base '/dashboard/'",
"deploy:pages": "pnpm run build:pages && gh-pages -d build",
"deploy": "gh-pages -d build --base '/'",
"deploy": "gh-pages -d build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css}\""
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
}
],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import svgr from 'vite-plugin-svgr'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), svgr()],
base: '/dashboard/',
base: '/dashboard',
build: {
outDir: 'build',
},
Expand Down

0 comments on commit 5bb11e6

Please sign in to comment.