mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 00:26:01 +00:00
fix admin controller to only serve if defined, and only from specified endpoints
This commit is contained in:
@@ -50,7 +50,7 @@ export class AdminController extends Controller {
|
||||
}
|
||||
|
||||
get basepath() {
|
||||
return this.options.basepath ?? "/";
|
||||
return this.withAdminBasePath();
|
||||
}
|
||||
|
||||
private withBasePath(route: string = "") {
|
||||
|
||||
Reference in New Issue
Block a user