From: Chocobozzz Date: Mon, 21 Nov 2016 20:36:07 +0000 (+0100) Subject: Client: fix https warning in make friends X-Git-Tag: v0.0.1-alpha~601 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a86444089eeec4a4565e475d9a60830e9b0b24c0;p=oweals%2Fpeertube.git Client: fix https warning in make friends --- 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 {