diff options
-rw-r--r-- | client/config/webpack.common.js | 1 | ||||
-rw-r--r-- | client/src/app/admin/friends/friend-add/friend-add.component.ts | 2 |
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 { |