Преглед на файлове

fix: 设置 SCENE 导致 BASE_URL 未解析

chenlei преди 1 година
родител
ревизия
43bcd004ec
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      vue.config.js

+ 2 - 2
vue.config.js

@@ -26,13 +26,13 @@ module.exports = defineConfig({
     scene: {
       template: 'public/index.html',
       entry: 'src/main.ts',
-      filename: `${SCENE || 'index'}.html`,
+      filename: 'index.html',
       title: process.env.TITLE,
     },
     hotspot: {
       template: 'hotspot/hotspot.html',
       entry: 'hotspot/main.ts',
-      filename: `${SCENE ? SCENE + '-hotspot' : 'hotspot'}.html`,
+      filename: 'hotspot.html',
       title: process.env.TITLE,
     },
   },