mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 16:16:02 +00:00
chore: remove unused admin_basepath and bump version to 0.21.0-rc.0
This commit is contained in:
@@ -77,7 +77,7 @@ export class AppReduced {
|
||||
|
||||
withBasePath(path: string | string[], absolute = false): string {
|
||||
const paths = Array.isArray(path) ? path : [path];
|
||||
return [absolute ? "~" : null, this.options.basepath, this.options.admin_basepath, ...paths]
|
||||
return [absolute ? "~" : null, this.options.basepath, ...paths]
|
||||
.filter(Boolean)
|
||||
.join("/")
|
||||
.replace(/\/+/g, "/")
|
||||
|
||||
Reference in New Issue
Block a user