aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-21 21:36:07 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-21 22:09:45 +0100
commita86444089eeec4a4565e475d9a60830e9b0b24c0 (patch)
tree7df726cf8afefe30ad6ebef56f0a0ad858c77261
parent4dc54772272edf9fa6aeff0259f279dfc22afd19 (diff)
downloadPeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.tar.gz
PeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.tar.zst
PeerTube-a86444089eeec4a4565e475d9a60830e9b0b24c0.zip
Client: fix https warning in make friends
-rw-r--r--client/config/webpack.common.js1
-rw-r--r--client/src/app/admin/friends/friend-add/friend-add.component.ts2
2 files changed, 2 insertions, 1 deletions
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) {
179 * 179 *
180 * See: https://www.npmjs.com/package/copy-webpack-plugin 180 * See: https://www.npmjs.com/package/copy-webpack-plugin
181 */ 181 */
182 // Used by embed.html
182 new CopyWebpackPlugin([ 183 new CopyWebpackPlugin([
183 { 184 {
184 from: 'src/assets', 185 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 {
28 } 28 }
29 29
30 canMakeFriends() { 30 canMakeFriends() {
31 return window.location.protocol === 'https://'; 31 return window.location.protocol === 'https:';
32 } 32 }
33 33
34 customTrackBy(index: number, obj: any): any { 34 customTrackBy(index: number, obj: any): any {