Skip to content

Commit

Permalink
chore(vite): fix base URL fallback in vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed-Rahif committed Dec 28, 2024
1 parent 7a5f61e commit 438ee1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineConfig({
define: {
APP_VERSION: JSON.stringify(process.env.npm_package_version)
},
base: '/Notpad/',
base: baseUrl() ?? '/Notpad/',
build: {
outDir: 'www',
rollupOptions: {
Expand Down Expand Up @@ -92,7 +92,7 @@ export default defineConfig({
display: 'standalone',
dir: 'ltr',
lang: 'en-IN',
start_url: '/Notpad',
start_url: baseUrl() ?? '/Notpad',
scope: '.'
},
workbox: {
Expand Down

0 comments on commit 438ee1e

Please sign in to comment.