|
|
@ -30,13 +30,13 @@ export default class TopMessage extends Vue { |
|
|
|
const settings = await db.settings.get(MASTER_SETTINGS_KEY); |
|
|
|
if ( |
|
|
|
settings?.warnIfTestServer && |
|
|
|
window.location.hostname !== AppString.PROD_TIME_SAFARI_SERVER |
|
|
|
window.location.hostname !== AppString.PROD_TIME_SAFARI_SERVER_HOST |
|
|
|
) { |
|
|
|
const didPrefix = settings.activeDid?.slice(11, 14); |
|
|
|
this.message = "You're linked to a test server, user " + didPrefix; |
|
|
|
} else if ( |
|
|
|
settings?.warnIfProdServer && |
|
|
|
window.location.hostname === AppString.PROD_TIME_SAFARI_SERVER |
|
|
|
window.location.hostname === AppString.PROD_TIME_SAFARI_SERVER_HOST |
|
|
|
) { |
|
|
|
const didPrefix = settings.activeDid?.slice(1, 14); |
|
|
|
this.message = |
|
|
|