feat: 前台404页与通配路由; 积木拖拽排序(vuedraggable); nginx SPA说明
Made-with: Cursor
This commit is contained in:
@@ -11,6 +11,7 @@ server {
|
||||
location = / {
|
||||
try_files /index.html =404;
|
||||
}
|
||||
# 前台为 Vue SPA:任意路径须回退到 index.html,否则直接访问 /xxx 会得到 nginx 404
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user