Skip to content

Commit

Permalink
Another another attempt to fix routing
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawajs committed Jan 1, 2025
1 parent 146ea5b commit d04277c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/nursery-nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-infinite-scroller": "^1.2.6",
"react-leaflet": "^4.2.1",
"react-leaflet-cluster": "^2.1.0",
"react-router-dom": "^6.23.0",
"react-router-dom": "^6.28.1",
"typescript": "^5.6.3",
"uuid": "^9.0.1",
"vite": "^5.4.9",
Expand Down
6 changes: 3 additions & 3 deletions src/nursery-nav/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "nursery-nav",
"name": "NurseryNav",
"short_name": "ZnajdzZlobek",
"name": "ZnajdzZlobek.pl",
"icons": [
{
"src": "favicon.ico",
Expand All @@ -20,6 +20,6 @@
],
"start_url": ".",
"display": "standalone",
"theme_color": "#98d9ff",
"theme_color": "#315292",
"background_color": "#ffffff"
}
6 changes: 4 additions & 2 deletions src/nursery-nav/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import viteTsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
// depending on your application, base can also be "/"
base: '',
base: '/',
plugins: [react({
jsxImportSource: '@emotion/react',
babel: {
Expand All @@ -17,5 +17,7 @@ export default defineConfig({
// this sets a default port to 3000
port: 3001,
},

preview: {
port: 3001
}
})

0 comments on commit d04277c

Please sign in to comment.