question 👍 The front end changed the base path, but the project could not run. #14761

Closed
opened 2026-02-21 19:18:39 -05:00 by yindo · 1 comment
Owner

Originally created by @ganfengchi on GitHub (Jun 20, 2025).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Provide a description of requested docs changes

The front end changed the base path, but the project could not run.

Originally created by @ganfengchi on GitHub (Jun 20, 2025). ### Self Checks - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Provide a description of requested docs changes The front end changed the base path, but the project could not run. <!-- Failed to upload "image.png" --> <!-- Failed to upload "image.png" -->
yindo closed this issue 2026-02-21 19:18:39 -05:00
Author
Owner

@ganfengchi commented on GitHub (Jun 20, 2025):

var-basePath.js code
// export basePath to next.config.js
// same as the one exported from var.ts
module.exports = {
basePath: '/bright-spark',
assetPrefix: '/bright-spark',
}

@ganfengchi commented on GitHub (Jun 20, 2025): var-basePath.js code // export basePath to next.config.js // same as the one exported from var.ts module.exports = { basePath: '/bright-spark', assetPrefix: '/bright-spark', }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#14761