Skip to content

Commit

Permalink
Log used SiVa url
Browse files Browse the repository at this point in the history
  • Loading branch information
martenrebane committed Oct 28, 2024
1 parent 571d46e commit f88a0d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MoppLib/MoppLib/MoppLibDigidocManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@
std::string verifyServiceUri() const override {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
NSString *sivaUrl = [defaults stringForKey:@"kSivaUrl"];
NSString *usingSivaUrl = [sivaUrl length] != 0 ? sivaUrl : moppLibConfiguration.SIVAURL;
printLog(@"Using SiVa URL: %@", usingSivaUrl);
return [sivaUrl length] != 0 ? sivaUrl.UTF8String : moppLibConfiguration.SIVAURL.UTF8String;
}

Expand Down

0 comments on commit f88a0d1

Please sign in to comment.