Skip to content

Commit af8f59e

Browse files
committed
Updating cognito client ID
1 parent 6f04ed5 commit af8f59e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/Routing.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ const Routing = () => {
3131
history.push("/dashboard");
3232
}
3333
}
34-
history.push("/maintenance");
34+
/**
35+
* Use this command for rendering maintenance page
36+
*/
37+
// history.push("/maintenance");
3538
return (
3639
<ErrorBoundary>
3740
<Suspense fallback={<Loading />}>
@@ -42,8 +45,8 @@ const Routing = () => {
4245
<Route exact path="/file/:fileId" component={FileDetail} />
4346
<Route exact path="/profile" component={Profile} />
4447
<Route exact path="/about" component={About} />
45-
<Route exact path="/:urlId" component={Download} />
4648
<Route exact path="/maintenance" component={Maintenance} />
49+
<Route exact path="/:urlId" component={Download} />
4750
<Route>
4851
<Redirect to="/dashboard" /> <HomePage />
4952
</Route>

src/aws-exports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const awsmobile = {
66
"aws_cognito_identity_pool_id": "ap-south-1:74d8f327-234a-4840-8eae-8f352ff60eb4",
77
"aws_cognito_region": "ap-south-1",
88
"aws_user_pools_id": "ap-south-1_7YemcyPmb",
9-
"aws_user_pools_web_client_id": "7pv4meq2fl989irvbvbiu3bh31",
9+
"aws_user_pools_web_client_id": "5rst5aq0hnv2m4ge5880m1s066",
1010
"oauth": {}
1111
};
1212

0 commit comments

Comments
 (0)