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

你好,请问一下 #2

Closed
dhucaichao opened this issue Jun 6, 2019 · 1 comment
Closed

你好,请问一下 #2

dhucaichao opened this issue Jun 6, 2019 · 1 comment

Comments

@dhucaichao
Copy link

默认的brower模式,server怎样返回数据,才能让前端刷新不报404错误

@yanthink
Copy link
Owner

nginxapache 等中间件做重定向就可以了。

location / {
    try_files $uri $uri/ /index.html?$query_string;
}

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