mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
5872a1c82c
* 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>
18 lines
405 B
JSON
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" }
|
|
]
|
|
}
|