Closed Shruti3004 closed 3 years ago
Interesting, I set the PUBLIC_URL
to /react
and built the package.
Going to http://localhost/react
redirect me first to http://localhost/react/
. But then gave me this 404.
Now, if I click on Home or goto anywhere, the location in address bar changes to http://localhost/...
but the page loads (since it is a single page application now).
Will it be possible to fix it here or you wanna do it in a separate PR?
Interesting, I set the
PUBLIC_URL
to/react
and built the package.Going to
http://localhost/react
redirect me first tohttp://localhost/react/
. But then gave me this 404.Now, if I click on Home or goto anywhere, the location in address bar changes to
http://localhost/...
but the page loads (since it is a single page application now).Will it be possible to fix it here or you wanna do it in a separate PR?
Yes, @GMishx this is the same problem that we faced for the apache, I found the solution for it and working on it.
@GMishx I have fixed it in this pr itself, and this also resolves that error in which we are not able to serve it from localhost/react
now we can serve it from localhost/react
as well.
Description
Currently the blank screen is coming to https://fossology.github.io/FOSSologyUI/
Changes
Added the public url to
deploy.yml