Logo
Explore Help
Register Sign In
admin/dify
1
0
Fork 0
You've already forked dify
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
52e9bcbfdb7bdf4e99d4e3c627ad387423732940
dify/web/utils/var-basePath.js

7 lines
170 B
JavaScript
Raw Normal View History

feat: add base path to resources (#17655) Co-authored-by: fhliu4 <fhliu4@iflytek.com>
2025-04-15 17:05:50 +08:00
// export basePath to next.config.js
// same as the one exported from var.ts
module.exports = {
refactor: Promote basepath to environment variable (#24445) Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-29 15:39:37 +08:00
basePath: process.env.NEXT_PUBLIC_BASE_PATH || '',
Added the missing path of the webpath prefix and the prefix basepath + of static resources to remove the bug of adding more basepath. (#18658) Co-authored-by: qingguo <qingguo@lexin.com>
2025-04-24 17:14:26 +08:00
assetPrefix: '',
feat: add base path to resources (#17655) Co-authored-by: fhliu4 <fhliu4@iflytek.com>
2025-04-15 17:05:50 +08:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 79ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API