Skip to content

Commit 92828b7

Browse files
committed
chore: add netlify redirect
1 parent ffebbf6 commit 92828b7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

client/web/assets/_redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* /index.html 200

client/web/build/webpack.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ const plugins: Configuration['plugins'] = [
8080
from: path.resolve(ROOT_PATH, './assets/pwa.webmanifest'),
8181
to: 'pwa.webmanifest',
8282
},
83+
{
84+
from: path.resolve(ROOT_PATH, './assets/_redirects'),
85+
to: './', // for netlify
86+
},
8387
{
8488
from: path.resolve(ROOT_PATH, './assets/images/logo/'),
8589
to: 'images/logo/',

0 commit comments

Comments
 (0)