Client: fix https warning in make friends

This commit is contained in:
Chocobozzz 2016-11-21 21:36:07 +01:00
parent 4dc5477227
commit a86444089e
2 changed files with 2 additions and 1 deletions

View File

@ -179,6 +179,7 @@ module.exports = function (options) {
* *
* See: https://www.npmjs.com/package/copy-webpack-plugin * See: https://www.npmjs.com/package/copy-webpack-plugin
*/ */
// Used by embed.html
new CopyWebpackPlugin([ new CopyWebpackPlugin([
{ {
from: 'src/assets', from: 'src/assets',

View File

@ -28,7 +28,7 @@ export class FriendAddComponent implements OnInit {
} }
canMakeFriends() { canMakeFriends() {
return window.location.protocol === 'https://'; return window.location.protocol === 'https:';
} }
customTrackBy(index: number, obj: any): any { customTrackBy(index: number, obj: any): any {