Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
thongdanghoang committed Jun 1, 2024
1 parent d41c1f3 commit 67c2b3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html =404;
try_files $uri $uri/ /index.html =404;
}

error_page 500 502 503 504 /50x.html;
Expand Down
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "frontend",
"private": true,
"version": "0.0.0",
"homepage": "/swapme",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import PostProduct from '../modules/dev/postProduct/PostProduct.tsx';

export default function App(): ReactElement {
return (
<Router basename="/swapme">
<Router basename={'/swapme'}>
<div className="app">
<div className="header">
<AppHeader />
Expand Down

0 comments on commit 67c2b3b

Please sign in to comment.