Skip to content

Commit

Permalink
Revert "Force Dynamic Test"
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanks0465 authored Aug 30, 2024
1 parent 56935ae commit d344175
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
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"]
}

0 comments on commit d344175

Please sign in to comment.