Commit dbbe2df4 authored by 邓晓峰's avatar 邓晓峰
parents 5a5e91cb 3b5d18c9
Pipeline #42436 passed with stages
in 1 minute 38 seconds
......@@ -224,13 +224,8 @@ export const defaultApp = () => {
// setDefaultMountApp(`/${pkg.name.toLocaleLowerCase()}/${basePath}${homepage}`);
// createStoreage.set('init_web4', true)
// }
// let homepage = config.homepage.replace('civweb4/', '');
setDefaultMountApp(`/civbase/${config.homepage.replace(/^\//, '')}`);
// if(/civweb4/.test(config.homepage)) {
// setDefaultMountApp(`/civbase/${config.homepage.replace(/^\//, '')}`);
// } else {
// setDefaultMountApp(`/civbase/${config.home.path.replace(/^\//, '')}`);
// }
//setDefaultMountApp(`/civbase/${config.homepage.replace(/^\//, '')}`);
if(config.homepage.indexOf('civweb4') > -1) createStoreage.set('init_web4', true);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment