mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-03 02:24:36 +00:00
feat : 调整适配部署阿里云效
This commit is contained in:
parent
82f96a12d8
commit
04fc6545dd
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
|||
async function loadRuntimeConfig() {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
const script = document.createElement('script')
|
||||
const base = import.meta.env.BASE_URL || '/'
|
||||
const base = new URL('./', document.baseURI).pathname
|
||||
script.src = `${base}runtime-config.js`
|
||||
script.async = false
|
||||
script.onload = () => resolve()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue