mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix : typo
This commit is contained in:
parent
6e3f908af5
commit
ef5fcd5870
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ export default function middleware(req: NextRequest) {
|
|||
}
|
||||
|
||||
if (isSelfHosted) {
|
||||
currentHost = getDefaultOrg() || currentHost;
|
||||
currentHost = defaultOrg || currentHost;
|
||||
}
|
||||
|
||||
url.pathname = `/_orgs/${currentHost}${url.pathname}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue