removed debug code

This commit is contained in:
antelle 2018-08-30 21:33:07 +02:00
parent e889f5f5ba
commit c8dc0aefa0
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ ready(() => {
return Promise.resolve().then(() => {
const skipHttpsWarning = localStorage.skipHttpsWarning || appModel.settings.get('skipHttpsWarning');
const protocolIsInsecure = ['https:', 'file:', 'app:'].indexOf(location.protocol) < 0;
const hostIsInsecure = location.hostname !== 'localhost2';
const hostIsInsecure = location.hostname !== 'localhost';
if (protocolIsInsecure && hostIsInsecure && !skipHttpsWarning) {
Alerts.error({
header: Locale.appSecWarn, icon: 'user-secret', esc: false, enter: false, click: false,