mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-04 17:06:49 +00:00
refactor: satisfy linter requirements
This commit is contained in:
@ -60,7 +60,7 @@ function fetch(verb, path, data, options) {
|
||||
|
||||
beforeSend: function (xhr) {
|
||||
// allow unauthenticated access to OIDC configuration
|
||||
if (path === "settings/oidc-config") return;
|
||||
if (path === 'settings/oidc-config') return;
|
||||
xhr.setRequestHeader('Authorization', 'Bearer ' + (token ? token.t : null));
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user