-
Notifications
You must be signed in to change notification settings - Fork 22
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
prepare中缺少对静态文件配置的说明 #22
Comments
你的意思是指南里面的没有说明 microservice.yaml 中需要正确配置静态页面的路径吗? 即 修改如下配置项:
|
能否告知gateway.webroot 到底指向哪 |
即静态页面相关的文件所在的目录,比如: |
在项目中pom文件的配置是这样的
配置文件中没有去声明[gateway.webroot]
不知道gateway.webroot需要怎么设置才能正常访问到静态资源,示例项目直接启动也是有这个错误,bmi、porter都是这个异常 |
配置项在
sample里面的配置是 windows 配置。 表示当前磁盘,比如 D。 |
mac 或者 linux 配置的是相对路径。 如果你已经尝试,并且还是报错, 可以试着调试下代码。看看为什么没有查找到页面文件,具体调试的类就是下面代码演示的 StaticHandler的handle方法。
|
No description provided.
The text was updated successfully, but these errors were encountered: