question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow URL routes other than root

See original GitHub issue

Every 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

  1. Go to ‘https://{{ baseUrl }}/portal-apim’
  2. Open browser console
  3. 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]

image

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikebudzynskicommented, Jun 1, 2021

@cedrox, we prioritized the issue for development, but we don’t have an ETA at this moment.

0reactions
msftbot[bot]commented, Jun 1, 2021

By adding this issue to the Backlog project, we have prioritized it for development. You can monitor its status in the project’s board.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found