1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Merge pull request #967 from MovieWebIPFS/patch-1

feat: allow setting 'base' via VITE_BASE_URL
This commit is contained in:
William Oldham 2024-03-04 20:38:28 +00:00 committed by GitHub
commit 89bc201b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,7 @@ const captioningPackages = [
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd());
return {
base: env.VITE_BASE_URL || '/',
plugins: [
million.vite({ auto: true, mute: true }),
handlebars({