fix:指点飞行
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user