mirror of
https://github.com/OHTU-German-learning-website/OHTU-German-learning-website.git
synced 2026-10-12 19:13:51 +03:00
Fix Docker build for grammar pages and remove secret ARG/ENV warnings
This commit is contained in:
@@ -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,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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user