parent
a1c46c2648
commit
418b5fc4a0
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user