feat: add base path to resources (#17655)
Co-authored-by: fhliu4 <fhliu4@iflytek.com>
This commit is contained in:
5
web/utils/var-basePath.js
Normal file
5
web/utils/var-basePath.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// export basePath to next.config.js
|
||||
// same as the one exported from var.ts
|
||||
module.exports = {
|
||||
basePath: '',
|
||||
}
|
@@ -104,3 +104,7 @@ export const getVars = (value: string) => {
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
// Set the value of basePath
|
||||
// example: /dify
|
||||
export const basePath = ''
|
||||
|
Reference in New Issue
Block a user