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

UI出现404 #29

Closed
warren22 opened this issue Aug 28, 2017 · 6 comments
Closed

UI出现404 #29

warren22 opened this issue Aug 28, 2017 · 6 comments

Comments

@warren22
Copy link

按要求部署完毕,出现404.进不了WEB

@warren22
Copy link
Author

按照使用说明部署,UI运行不起来。

@warren22
Copy link
Author

我是服务器远程部署,跟这个没关系吧

@Doflatango
Copy link
Collaborator

@warren22 默认 UI 目录配置路径是相对的,应该是从启动路径那里找不到相对目录了,你可以先在web.jsonUIDir 改成绝对路径。
后面打算静态文件打包进二进制文件里面就不用配置这个了

@KidoPlay
Copy link

KidoPlay commented Aug 30, 2017

@Doflatango
绝对路径也是404.
测试的时候给了个路径
"UIDir": "/root/cronsun/cronsun-v0.2/ui",
这样依旧404

@Doflatango
Copy link
Collaborator

浏览器访问地址是 http://xxx/ui/, ui 后面跟着/

另外,你可以切到 develop 分支,更新到最新的代码,已经不需要 UIDir 配置了

@warren22
Copy link
Author

OK了,

@QLeelulu QLeelulu closed this as completed Sep 1, 2017
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

4 participants