mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
chore: remove unused admin_basepath and bump version to 0.21.0-rc.0
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"bin": "./dist/cli/index.js",
|
"bin": "./dist/cli/index.js",
|
||||||
"version": "0.20.0",
|
"version": "0.21.0-rc.0",
|
||||||
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
"description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.",
|
||||||
"homepage": "https://bknd.io",
|
"homepage": "https://bknd.io",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ export class AppReduced {
|
|||||||
|
|
||||||
withBasePath(path: string | string[], absolute = false): string {
|
withBasePath(path: string | string[], absolute = false): string {
|
||||||
const paths = Array.isArray(path) ? path : [path];
|
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)
|
.filter(Boolean)
|
||||||
.join("/")
|
.join("/")
|
||||||
.replace(/\/+/g, "/")
|
.replace(/\/+/g, "/")
|
||||||
|
|||||||
Reference in New Issue
Block a user