mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +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