Fix Docker build for grammar pages and remove secret ARG/ENV warnings

This commit is contained in:
Erza
2026-04-14 16:06:35 +00:00
parent 68e2247171
commit 773136e208
3 changed files with 6 additions and 0 deletions
@@ -3,6 +3,8 @@ import { Column } from "@/components/ui/layout/container";
import { LinkButton } from "@/components/ui/linkbutton";
import { getAlphabeticalGrammarPages } from "@/backend/html-services";
export const dynamic = "force-dynamic";
export default async function Chapter() {
const chapters = await getAlphabeticalGrammarPages();
@@ -9,6 +9,8 @@ import AdminButtons from "@/app/pages/[type]/[slug]/admin-buttons";
import { LinkButton } from "@/components/ui/linkbutton";
import "../lessons.css";
export const dynamic = "force-dynamic";
/** A grammar page slug can have different display labels depending on whether
* the user arrived from the topics view or the alphabetical view.
* We prefer the title from the active view, and fall back to the other list. */
+2
View File
@@ -2,6 +2,8 @@ import { LinkButton } from "@/components/ui/linkbutton";
import { getGrammarTopicsWithPages } from "@/backend/html-services";
import TopicsList from "./topics-list";
export const dynamic = "force-dynamic";
export default async function ThemesPage() {
const grammarTopics = await getGrammarTopicsWithPages();