You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I used the serve to deploy my react app it was worked but when I insert my own route in browser its giving me a blank page " white screen "
if go to my.domain.com/first_route ---> its worked
but go to my.domain.com/first_route/second_route ---> giving me a blank screen
and thanks alot
The text was updated successfully, but these errors were encountered:
Not sure if this was already resolved, but for serving SPAs, you just have to add the -s option. According to the documentation: -s, --single Rewrite all not-found requests to index.html``
Something is weird with the -s flag it will not serve a html file named other.html in the root directory. Instead it serves index.html. It should only be rewriting not found requests.
when I used the serve to deploy my react app it was worked but when I insert my own route in browser its giving me a blank page " white screen "
if go to my.domain.com/first_route ---> its worked
but go to my.domain.com/first_route/second_route ---> giving me a blank screen
and thanks alot
The text was updated successfully, but these errors were encountered: