支持非根目录部署

This commit is contained in:
whyour committed 2023-05-19 01:10:33 +08:00
1 parent 1377fe31aa
commit 490bdc15f6
13 files changed
+88 -55

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
const baseUrl = window.__ENV__QlBaseUrl || '/';
export default {
siteName: '青龙',
apiPrefix: '/api/',
apiPrefix: `${baseUrl}api/`,
authKey: 'token',
/* Layout configuration, specify which layout to use for route. */