Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

Commit

Permalink
fix: fix nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Wen-ace committed Mar 23, 2024
1 parent 411ac36 commit a749337
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ng/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ server {
try_files $uri $uri/ @router;
}

# location @router {
# rewrite ^.*$ /index.html last;
# }
location @router {
rewrite ^.*$ /index.html last;
}

#error_page 404 /404.html;

Expand Down

0 comments on commit a749337

Please sign in to comment.