@raketa-cloud/admin 0.0.6 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-cloud/admin",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "dev": "npx tailwindcss -i ./src/styles/application.css -o ../../apps/admin/static/application.css --watch",
package/src/Adapter.js CHANGED
@@ -1,3 +1,6 @@
1
+ import { fileURLToPath } from "url";
2
+ const __filename = fileURLToPath(import.meta.url);
3
+
1
4
  import nodePath from "node:path";
2
5
  import { existsSync } from "node:fs";
3
6
  import ejs from "ejs";
@@ -1,3 +1,6 @@
1
+ import { fileURLToPath } from "url";
2
+ const __filename = fileURLToPath(import.meta.url);
3
+
1
4
  import nodePath from "node:path";
2
5
  import ejs from "ejs";
3
6
  import { deleteCookie, getCookie, setCookie } from "hono/cookie";
@@ -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>