mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 05:13:18 -07:00
Fixed #1954
This commit is contained in:
parent
c0905d8460
commit
6b8adeb584
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue