Skip to content

Commit b6a7c85

Browse files
Merge branch 'staging' into fix-asset-uploader-error-logging
2 parents 0a078d1 + a3f9d2d commit b6a7c85

File tree

3 files changed

+71
-26
lines changed

3 files changed

+71
-26
lines changed

cloudformation/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Parameters:
111111

112112
DevelopmentMode:
113113
Type: String
114-
Description: Enabling this weakens security features (OAI, SSL, site S3 bucket with public read ACLs, Cognito callback verification, CORS, etc.) for easier development. Do not enable this in production! Additionally, do not update a stack that was previously in development mode to be a production stack; instead, make a new stack that has never been in development mode.
114+
Description: Enabling this weakens security features (OAI, SSL, site S3 bucket with public read ACLs, Cognito callback verification, CORS, etc.) for easier development. It also breaks frontend routing (except to /index.html), including deep linking and page refresh. Do not enable this in production! Additionally, do not update a stack that was previously in development mode to be a production stack; instead, make a new stack that has never been in development mode.
115115
Default: 'false'
116116

117117
Conditions:

dev-portal/package-lock.json

Lines changed: 67 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev-portal/src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class App extends React.Component {
6262
<GlobalModal />
6363
<Switch>
6464
<Route exact path="/" component={Home} />
65+
<Route exact path="/index.html" component={() =>
66+
<Redirect to="/"/>
67+
} />
6568
<Route path="/getting-started" component={GettingStarted} />
6669
<Route path="/dashboard" component={Dashboard} />
6770
<AdminRoute path="/admin" component={Admin} />

0 commit comments

Comments
 (0)