Temporarily disable access to platform

Due to unpaid invoices
This commit is contained in:
mg
2022-10-28 15:35:24 +01:00
parent 4109515568
commit 866589f907
2 changed files with 45 additions and 0 deletions
+10
View File
@@ -35,6 +35,7 @@ import "firebase/functions";
import "firebase/app-check";
import "firebase/firestore";
import "firebase/analytics";
import PlatformDisabled from './PlatformDisabled';
// TODO: app check debug token set in index.html - remove before deploy
@@ -258,6 +259,15 @@ class App extends React.Component {
?
<>
<Switch>
<Route path="/tos" exact>
<TermsOfService logEvent={analytics.logEvent} page={this.page} />
</Route>
<Route path="/privacy" exact>
<PrivacyPolicy logEvent={analytics.logEvent} page={this.page} />
</Route>
<Route path="/">
<PlatformDisabled logEvent={analytics.logEvent} page={this.page} />
</Route>
<Route path="/" exact>
<LoggedInHome db={db} firebase={firebase} functions={functions} user={this.state.user} logEvent={analytics.logEvent} page={this.page} />
</Route>