Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource can't match service context path #71

Closed
lakewatcher opened this issue Jan 10, 2023 · 2 comments
Closed

resource can't match service context path #71

lakewatcher opened this issue Jan 10, 2023 · 2 comments

Comments

@lakewatcher
Copy link

lakewatcher commented Jan 10, 2023

资源路径和接口路径不一致,很难被服务转发。
resource can't match service context path

当我访问 /etcdkeeper/ 时,请求的资源确是:/framework/easyui/themes/metro/easyui.css
When I visited /etcdkeeper, requested resource is: / framework/easyui/themes/metro/easyui. The path is {baseurl}/framework not {baseurl}/etcdkeeper/framework

当使用转发服务时,无法处理资源转发,示例。
if i using gateway or nginx to rewrite url , encounter the scene ,for example:

image

@evildecay
Copy link
Owner

我设计之初是入口是静态资源的index.html开始访问的,最初我只想单机在命令行中启动一下就访问了,所以没有考虑其他部署例如docker和ngix这些。这个PR#50不知道是否解决了这个问题?

@evildecay
Copy link
Owner

我测试明白了你的意思,在最新的提交我调整了静态资源的目录和加载路径,这应该解决了你说的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants