@@ -1,7 +0,0 @@
|
||||
---
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Allow relative URLs to be passed as config values for `app.baseUrl` and `backend.baseUrl`. For example, `app.baseUrl` can now be `/`.
|
||||
|
||||
Relative URLs are only supported for frontend builds, the backend still needs the full URL defined before run time.
|
||||
@@ -1,5 +1,6 @@
|
||||
abc
|
||||
accessors
|
||||
ACLs
|
||||
addon
|
||||
addons
|
||||
ADRs
|
||||
@@ -32,6 +33,7 @@ boolean
|
||||
Brex
|
||||
builtins
|
||||
callout
|
||||
CDNs
|
||||
Chai
|
||||
changeset
|
||||
changesets
|
||||
@@ -165,6 +167,7 @@ JWTs
|
||||
Kaewkasi
|
||||
Keyv
|
||||
Knex
|
||||
KPIs
|
||||
kubectl
|
||||
kubernetes
|
||||
kubernetes
|
||||
@@ -349,6 +352,7 @@ templater
|
||||
Templater
|
||||
templaters
|
||||
Templaters
|
||||
TFRecord
|
||||
theia
|
||||
thumbsup
|
||||
todo
|
||||
@@ -366,6 +370,7 @@ transpiled
|
||||
transpiler
|
||||
transpilers
|
||||
truthy
|
||||
TSDoc
|
||||
typeahead
|
||||
ui
|
||||
unbreak
|
||||
@@ -394,6 +399,7 @@ widget's
|
||||
winston
|
||||
www
|
||||
WWW
|
||||
XCMetrics
|
||||
XML
|
||||
xyz
|
||||
yaml
|
||||
|
||||
@@ -150,7 +150,7 @@ const AppRouter = app.getRouter();
|
||||
|
||||
const routes = (
|
||||
<FlatRoutes>
|
||||
<Route path="/" element={<Navigate to="/catalog" />} />
|
||||
<Route path="/" element={<Navigate to="catalog" />} />
|
||||
{/* TODO(rubenl): Move this to / once its more mature and components exist */}
|
||||
<Route path="/home" element={<HomepageCompositionRoot />}>
|
||||
{homePage}
|
||||
|
||||
@@ -463,7 +463,7 @@ export class AppManager implements BackstageApp {
|
||||
}
|
||||
|
||||
return (
|
||||
<RouterComponent>
|
||||
<RouterComponent basename={basePath}>
|
||||
<RouteTracker routeObjects={routeObjects} />
|
||||
{children}
|
||||
</RouterComponent>
|
||||
@@ -472,7 +472,7 @@ export class AppManager implements BackstageApp {
|
||||
|
||||
if (isReactRouterBeta()) {
|
||||
return (
|
||||
<RouterComponent basename={basePath}>
|
||||
<RouterComponent>
|
||||
<RouteTracker routeObjects={routeObjects} />
|
||||
<SignInPageWrapper component={SignInPageComponent}>
|
||||
<Routes>
|
||||
@@ -484,7 +484,7 @@ export class AppManager implements BackstageApp {
|
||||
}
|
||||
|
||||
return (
|
||||
<RouterComponent>
|
||||
<RouterComponent basename={basePath}>
|
||||
<RouteTracker routeObjects={routeObjects} />
|
||||
<SignInPageWrapper component={SignInPageComponent}>
|
||||
<>{children}</>
|
||||
|
||||
Reference in New Issue
Block a user