1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/frontend/vercel.json
Nuno Góis 5872a1c82c refactor: adapt to Vite (#940)
* chore: adapt to vite

* remove react-scripts

* add jsdom dep, update snaps

* fix tests

* fix: formatting

* fix: vercel rewrite

* fix: regeneratorRuntime is not defined

Co-authored-by: Tymoteusz Czech <tymek+gpg@getunleash.ai>
Co-authored-by: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com>
2022-05-05 16:15:22 +01:00

18 lines
405 B
JSON

{
"rewrites": [
{
"source": "/api/:match*",
"destination": "https://unleash4.herokuapp.com/api/:match*"
},
{
"source": "/logout",
"destination": "https://unleash4.herokuapp.com/logout"
},
{
"source": "/auth/:match*",
"destination": "https://unleash4.herokuapp.com/auth/:match*"
},
{ "source": "/(.*)", "destination": "/index.html" }
]
}