Merge pull request #1269 from SheepFromHeaven/npm

fix: Update base path in vite.config.ts for Netlify deployment
This commit is contained in:
Azgaar 2026-01-20 01:46:48 +01:00 committed by GitHub
commit e8bf27cfe3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
export default {
root: './src',
base: '/Fantasy-Map-Generator/',
base: process.env.NETLIFY ? '/' : '/Fantasy-Map-Generator/',
build: {
outDir: '../dist',
assetsDir: './',