fix : typo

This commit is contained in:
Badr B 2023-04-12 12:44:13 +02:00 committed by GitHub
parent 6e3f908af5
commit ef5fcd5870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ export default function middleware(req: NextRequest) {
} }
if (isSelfHosted) { if (isSelfHosted) {
currentHost = getDefaultOrg() || currentHost; currentHost = defaultOrg || currentHost;
} }
url.pathname = `/_orgs/${currentHost}${url.pathname}`; url.pathname = `/_orgs/${currentHost}${url.pathname}`;