fix:指点飞行

This commit is contained in:
2026-07-28 19:02:52 +08:00
parent 9087a3c291
commit 04f01cf5a6
3 changed files with 13 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ export default {
config.plugin('define').tap((definitions: any) => {
Object.assign(definitions[0], {
'process.env.CESIUM_BASE_URL': JSON.stringify(isDev ? '/' : (APP_BASE.endsWith('/') ? APP_BASE : APP_BASE + '/')),
'process.env.REACT_APP_CESIUM_TOKEN': JSON.stringify(process.env.REACT_APP_CESIUM_TOKEN || ''),
});
return definitions;
});