feat: add base path to resources (#17655)

Co-authored-by: fhliu4 <fhliu4@iflytek.com>
This commit is contained in:
diuwu 2025-04-15 17:05:50 +08:00 committed by GitHub
commit 7161d7ad96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 146 additions and 38 deletions

View file

@ -0,0 +1,5 @@
// export basePath to next.config.js
// same as the one exported from var.ts
module.exports = {
basePath: '',
}

View file

@ -104,3 +104,7 @@ export const getVars = (value: string) => {
})
return res
}
// Set the value of basePath
// example: /dify
export const basePath = ''