@@ -167,9 +167,7 @@ export class EventComponent implements OnInit {
|
|||||||
if(validUrl){
|
if(validUrl){
|
||||||
let match = this.event!.url.match(urlRegex);
|
let match = this.event!.url.match(urlRegex);
|
||||||
if(match) {
|
if(match) {
|
||||||
console.log(match);
|
this.event!.url = 'https://' + match[2];
|
||||||
let url = 'https://' + match[2];
|
|
||||||
this.event!.url = url;
|
|
||||||
} else {
|
} else {
|
||||||
validUrl = false;
|
validUrl = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user