mirror of
https://github.com/bknd-io/bknd.git
synced 2026-10-22 22:35:10 +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