Skip to content

Commit

Permalink
chore: add netlify redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 13, 2023
1 parent ffebbf6 commit 92828b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/web/assets/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200
4 changes: 4 additions & 0 deletions client/web/build/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ const plugins: Configuration['plugins'] = [
from: path.resolve(ROOT_PATH, './assets/pwa.webmanifest'),
to: 'pwa.webmanifest',
},
{
from: path.resolve(ROOT_PATH, './assets/_redirects'),
to: './', // for netlify
},
{
from: path.resolve(ROOT_PATH, './assets/images/logo/'),
to: 'images/logo/',
Expand Down

0 comments on commit 92828b7

Please sign in to comment.