fix: show the beta warning on web
This commit is contained in:
@@ -63,8 +63,6 @@ const startApplication: StartApplication = async function startApplication(
|
||||
defaultSyncServerHost: string,
|
||||
bridge: Bridge
|
||||
) {
|
||||
notifyBetaPeriodEnd();
|
||||
|
||||
SNLog.onLog = console.log;
|
||||
startErrorReporting();
|
||||
|
||||
@@ -150,19 +148,6 @@ const startApplication: StartApplication = async function startApplication(
|
||||
});
|
||||
};
|
||||
|
||||
function notifyBetaPeriodEnd() {
|
||||
if (window.location.hostname === 'app-beta.standardnotes.org') {
|
||||
alertDialog({
|
||||
title: 'Beta period has ended',
|
||||
text:
|
||||
'Thank you for trying this beta version. Please sign out, then ' +
|
||||
'sign in to <a href="https://app.standardnotes.org" target="_blank">' +
|
||||
'app.standardnotes.org</a> ' +
|
||||
'to continue using Standard Notes.',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if (__WEB__) {
|
||||
startApplication((window as any)._default_sync_server, new BrowserBridge(__VERSION__));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user