This commit is contained in:
Kuba Orlik 2025-02-16 18:32:25 +01:00
parent 2370e65648
commit b314edf5e9
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ import { App } from "sealious";
import _Globals from "./globals.js";
import _GroupsToUsers from "./groups-to-users.js";
import _Groups from "./groups.js";
import _Page from "./page.js";
import _Pages from "./pages.js";
import _PasswordResetIntents from "./password-reset-intents.js";
import _Redirects from "./redirects.js";
import _UserRoles from "./user-roles.js";
@ -13,7 +13,7 @@ import _Users from "./users.js";
export const Globals = new _Globals();
export const GroupsToUsers = new _GroupsToUsers();
export const Groups = new _Groups();
export const Page = new _Page();
export const Pages = new _Pages();
export const PasswordResetIntents = new _PasswordResetIntents();
export const Redirects = new _Redirects();
export const UserRoles = new _UserRoles();
@ -24,7 +24,7 @@ export const collections = {
globals: Globals,
"groups-to-users": GroupsToUsers,
groups: Groups,
page: Page,
pages: Pages,
"password-reset-intents": PasswordResetIntents,
redirects: Redirects,
"user-roles": UserRoles,

View File

@ -24,7 +24,7 @@ export const customUrlView =
const main_domain = new URL(BASE_URL).hostname;
const {
items: [page],
} = await app.collections.page
} = await app.collections.pages
.list(ctx.$context)
.filter({
url: ctx.url.split("?")[0],

BIN
src/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 MiB