Skip to content

Commit 5eed059

Browse files
committed
fix(fe): update config file path to include dynamic base URL
1 parent f00a0f0 commit 5eed059

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fe/packages/container/src/pages/miniApp/miniApp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class MiniApp {
4444
// 3. 读取配置文件
4545
const root = 'main'
4646
const configPath = `${this.appInfo.appId}/${root}/app-config.json`
47-
const configContent = await readFile(configPath)
47+
const configContent = await readFile(`${import.meta.env.BASE_URL}${configPath}`)
4848

4949
if (!configContent) {
5050
return

0 commit comments

Comments
 (0)