Rebase fixes

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2022-11-29 13:06:08 -05:00
parent 43ad38e75d
commit fc0aa3e00a
4 changed files with 10 additions and 11 deletions
-7
View File
@@ -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.
+6
View File
@@ -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
+1 -1
View File
@@ -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}
+3 -3
View File
@@ -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}</>