如何部署到"http://127.0.0.1:3000/demo"子路径 #2374
Unanswered
shylock-wu
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何部署到"http://127.0.0.1:3000/demo"子路径,而不是默认的根路径呀,我已经修改了,next.config.js中的basePath:'demo',但是所有的api请求还是默认的根路径导致请求失败
Beta Was this translation helpful? Give feedback.
All reactions