fix page not update(cached) in container, add volume for testing.
All checks were successful
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 1m15s
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 5s
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 1s
All checks were successful
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 1m15s
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 5s
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 1s
This commit is contained in:
parent
a37c55b9aa
commit
df2f60dc1c
3 changed files with 12 additions and 31 deletions
|
|
@ -1,4 +1,6 @@
|
|||
// app/page.tsx
|
||||
export const dynamic = 'force-dynamic'
|
||||
export const revalidate = 0;
|
||||
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import Link from "next/link";
|
||||
|
|
@ -6,8 +8,8 @@ import TmplHome from "@/components/TmplHome";
|
|||
import { DropdownData } from '@/components/utils/DependentDropdown';
|
||||
import {
|
||||
ToyBrick, FilePenLine, Rocket, Workflow, NotepadTextDashed,
|
||||
Files, Blocks, FileQuestionMark, ShieldLock, FileUp, GitMerge,
|
||||
ExternalLink, FileText
|
||||
Blocks, FileQuestionMark, ShieldLock, FileUp, GitMerge,
|
||||
FileText
|
||||
} from "lucide-react";
|
||||
|
||||
export default function HomePage() {
|
||||
|
|
@ -35,7 +37,8 @@ export default function HomePage() {
|
|||
.filter(json => json.startsWith(key))
|
||||
.map(json => json.replace('.json', ''));
|
||||
|
||||
templateData[key] = matchedJsons.length > 0 ? matchedJsons : ['default'];
|
||||
templateData[key] = matchedJsons
|
||||
// templateData[key] = matchedJsons.length > 0 ? matchedJsons : ['default'];
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue