pull/2052/head
tidusjar 7 years ago
parent c0905d8460
commit 6b8adeb584

@ -41,7 +41,7 @@ export class OmbiComponent implements OnInit {
} }
const result = <IOmbiSettings>form.value; const result = <IOmbiSettings>form.value;
if(result.baseUrl.length > 0) { if(result.baseUrl && result.baseUrl.length > 0) {
if(!result.baseUrl.startsWith("/")) { if(!result.baseUrl.startsWith("/")) {
this.notificationService.error("Please ensure your base url starts with a '/'"); this.notificationService.error("Please ensure your base url starts with a '/'");
return; return;

Loading…
Cancel
Save