-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crbug/1173575, non-JS module files deprecated at the time of hosting #3451
Comments
Hi @xanderbilla thank you for opening this issue. Can you verify what configuration you have on your app for re-writes and redirects as described at the documentation here? |
@nadetastic Thank you for your assisting me, and I have verified my rewrite and redirects but there is nothing...I mean there are no redirects and rewrites serving my application. Seems I have used that SPA (mention by you above) and now it works as expected. Thanks well I never tried this. |
@xanderbilla Glad we were able to get this resolved - happy to help 🙂 |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
Not applicable
Amplify Categories
No response
Environment information
Describe the bug
After hosting the react application everything works good but when I try to browse the web page manually using URL path it return
cbug/1173575, non-JS module files deprecated.
but when I browse that page instaead of typing URL path it works fine.
Also, if the application does not have the Amplify backend, the above issue does not occur.
Expected behavior
Excepected behavior is that if I want to browse by typing the exact path in URL it should work
Reproduction steps
After hosting the web app I just went to URL bar and entered the exact path manually. Example: https://domain.com/login to visit login page of my application and that returned the 404 error on browser and in console it says
cbug/1173575, non-JS module files deprecated.
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: