daanhan opened a new issue, #4531:
URL: https://github.com/apache/shenyu/issues/4531

   ### Question
   
   期望通过路径localhost:9095/shenyuadmin来访问admin页面。
   
   
在admin工程的application.yml文件中添加server.servlet.contextPath=/shenyuadmin,可以让springboot接口修改了路径。
   但vue相关的js和html代码中,无法方便的调整路径。
   建议vue中相关代码使用相对路径来访问java接口,或提供合适的修改方式,谢谢!
   
   I hope to browse localhost:9095/shenyuadmin to use Shenyu Admin.
   When add server.servlet.contextPath=/shenyuadmin to application.yml file, it 
can not change absolution API path in VUE js and html files. I propse change 
the absolution API path to relative path, in case we change contextPath in 
springboot.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to