From a86444089eeec4a4565e475d9a60830e9b0b24c0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 21 Nov 2016 21:36:07 +0100 Subject: [PATCH] Client: fix https warning in make friends --- client/config/webpack.common.js | 1 + client/src/app/admin/friends/friend-add/friend-add.component.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index 4ab813d63..8384ef8dd 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js @@ -179,6 +179,7 @@ module.exports = function (options) { * * See: https://www.npmjs.com/package/copy-webpack-plugin */ + // Used by embed.html new CopyWebpackPlugin([ { from: 'src/assets', diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts index 14f24c192..22b0241b4 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts @@ -28,7 +28,7 @@ export class FriendAddComponent implements OnInit { } canMakeFriends() { - return window.location.protocol === 'https://'; + return window.location.protocol === 'https:'; } customTrackBy(index: number, obj: any): any { -- 2.41.0