Allow URL routes other than root
See original GitHub issueEvery bug report should have precise description and reproduction steps; console traces or source code references are appreciated.
For assistance requests, contact Azure support or submit a post on Stack Overflow. We don’t provide support through GitHub Issues. Feature requests can be raised on the Azure Feedback Forum.
Bug description
We’ve configured the backendUrl for the dev portal, after the deployment of the static website in storage account, we’ve noticed that the home url couldn’t load the css files, and it’s being constantly redirected to the base url of the portal instead of the backendUrl that we configured.
Reproduction steps
- Go to ‘https://{{ baseUrl }}/portal-apim’
- Open browser console
- See error “404 Resource Not Found” https://{{ baseUrl }}/styles/theme.css
Expected behavior
The beautiful portal site should be loaded with all wwwroot assets.
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
[e.g., release tag 2.8.0
]
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
React Router is able to do the routing only if started from root url
My server is a small express.js app and it redirects any requests other than /api/* to the index.html page. Here's a part from...
Read more >How To Handle Routing in React Apps with React Router
In React, routers help create and navigate between the different URLs that make up your web application. They allow your user to move ......
Read more >How to Set React Router Default Route Redirect to /home
The routing works by comparing the URL against the specified list of routes in our React app.
Read more >Rails Routing from the Outside In - Ruby on Rails Guides
The Rails router recognizes URLs and dispatches them to a controller's action, or to a Rack application. It can also generate paths and...
Read more >React Router DOM: How to handle routing in web apps
A router allows your application to navigate between different ... more than one <Route> component can match the URL path and render at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@cedrox, we prioritized the issue for development, but we don’t have an ETA at this moment.
By adding this issue to the Backlog project, we have prioritized it for development. You can monitor its status in the project’s board.