mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +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",
|
"homepage": "https://market.oceanprotocol.com",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "gatsby develop --host 0.0.0.0",
|
"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/",
|
"serve": "serve -s public/",
|
||||||
"jest": "NODE_ENV=test jest -c tests/unit/jest.config.js",
|
"jest": "NODE_ENV=test jest -c tests/unit/jest.config.js",
|
||||||
"test": "npm run lint && npm run jest",
|
"test": "npm run lint && npm run jest",
|
||||||
|
Loading…
Reference in New Issue
Block a user