Client: fix https warning in make friends
This commit is contained in:
parent
4dc5477227
commit
a86444089e
|
@ -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',
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue