@raketa-cloud/admin 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/Adapter.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { fileURLToPath } from "url";
|
|
2
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
3
|
+
|
|
4
|
+
import nodePath from "node:path";
|
|
2
5
|
import { existsSync } from "node:fs";
|
|
3
6
|
import ejs from "ejs";
|
|
4
7
|
import FormBuilder from "./helpers/FormBuilder";
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { fileURLToPath } from "url";
|
|
2
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
3
|
+
|
|
4
|
+
import nodePath from "node:path";
|
|
2
5
|
import ejs from "ejs";
|
|
3
6
|
import { deleteCookie, getCookie, setCookie } from "hono/cookie";
|
|
4
7
|
import AuthHelper from "./helpers/AuthHelper";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<header class="sticky top-0 z-10 flex items-center bg-white border-b border-mono-25">
|
|
2
2
|
<div class="flex items-center justify-center flex-none size-14">
|
|
3
|
-
<a href="<%= `/${_context.locale}
|
|
3
|
+
<a href="<%= `/${_context.locale}/pages` %>">
|
|
4
4
|
<img src="/static/_assets/logo.svg" alt="Raketa" />
|
|
5
5
|
</a>
|
|
6
6
|
</div>
|