Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Force Dynamic Test" #11

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ next-env.d.ts

Caddyfile

.env
out
.env
2 changes: 1 addition & 1 deletion frontend/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const nextConfig = {
basePath: process.env.BASE_PATH || "",
distDir: "out",
output: "export",
eslint: {
ignoreDuringBuilds: true,
},
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/areas/model/[area]/[title]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { title } from "process";
import ModelView from "../../../../../../components/Models";

export const dynamic = "force-dynamic";
export const dynamicParams = true;

interface Model {
area: string;
Expand Down
9 changes: 1 addition & 8 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@
"@/*": ["./src/*"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"src/app/tools/[slug].js",
"out/types/**/*.ts"
],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "src/app/tools/[slug].js"],
"exclude": ["node_modules"]
}
Loading