Fixes #799
parent
9d5b12e9cc
commit
1d2c6692d1
|
@ -337,7 +337,7 @@ export class HttpServer {
|
|||
this.app.use("*", async (c, next) => {
|
||||
const req = c.req;
|
||||
const spaceServer = await this.ensureSpaceServer(req);
|
||||
if (!spaceServer.auth) {
|
||||
if (!spaceServer.auth && !spaceServer.authToken) {
|
||||
// Auth disabled in this config, skip
|
||||
return next();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue