Skip to content

Commit

Permalink
Empty admin URI is treated as /admin #3332
Browse files Browse the repository at this point in the history
  • Loading branch information
alansemenov committed Nov 1, 2023
1 parent e35c034 commit d1a8e5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class UriHelper {
* @returns {string} the URI to a admin path.
*/
static getAdminUriPrefix(): string {
return UriHelper.ADMIN_URI || UriHelper.DEFAULT_ADMIN_URI;
return UriHelper.ADMIN_URI ?? UriHelper.DEFAULT_ADMIN_URI;
}

static setAdminUri(value: string): void {
Expand Down

0 comments on commit d1a8e5e

Please sign in to comment.