mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 09:14:52 +01:00
netlify rewrite rules (#244)
* netify rewrite rule * copy redirects file after build * rewrite
This commit is contained in:
parent
724cd8db3d
commit
d87e8dacb4
1
_redirects
Normal file
1
_redirects
Normal file
@ -0,0 +1 @@
|
||||
/asset/* /asset/index.html 200
|
@ -6,7 +6,7 @@
|
||||
"homepage": "https://market.oceanprotocol.com",
|
||||
"scripts": {
|
||||
"start": "gatsby develop --host 0.0.0.0",
|
||||
"build": "gatsby clean && gatsby build",
|
||||
"build": "gatsby clean && gatsby build && cp _redirects public/_redirects",
|
||||
"serve": "serve -s public/",
|
||||
"jest": "NODE_ENV=test jest -c tests/unit/jest.config.js",
|
||||
"test": "npm run lint && npm run jest",
|
||||
|
Loading…
Reference in New Issue
Block a user