We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f00a0f0 commit 5eed059Copy full SHA for 5eed059
1 file changed
fe/packages/container/src/pages/miniApp/miniApp.js
@@ -44,7 +44,7 @@ export class MiniApp {
44
// 3. 读取配置文件
45
const root = 'main'
46
const configPath = `${this.appInfo.appId}/${root}/app-config.json`
47
- const configContent = await readFile(configPath)
+ const configContent = await readFile(`${import.meta.env.BASE_URL}${configPath}`)
48
49
if (!configContent) {
50
return
0 commit comments