set the page to dynamic, and refresh the lock file

This commit is contained in:
mbaharip
2024-04-06 22:55:11 +07:00
parent 823f62836b
commit 511dc4f491
7 changed files with 779 additions and 1228 deletions
+1 -1
View File
@@ -3,5 +3,5 @@
"rules": {
"@next/next/no-img-element": "off"
},
"ignorePatterns": ["**/*/_legacy/**/*", "**/*/_app/**/*", "**/*/_pages/**/*"]
"ignorePatterns": ["**/*/_legacy/**/*", "**/*/_app/**/*", "**/*/_page/**/*"]
}
+6 -6
View File
@@ -54,9 +54,9 @@
"next": "^14.1.4",
"next-themes": "^0.3.0",
"nextjs-toploader": "^1.6.11",
"react": "^18.2.0",
"react": "^18",
"react-day-picker": "^8.10.0",
"react-dom": "^18.2.0",
"react-dom": "^18",
"react-h5-audio-player": "^3.9.1",
"react-hook-form": "^7.51.2",
"react-hot-toast": "^2.4.1",
@@ -86,9 +86,9 @@
"@types/cors": "^2.8.13",
"@types/jsonwebtoken": "^9.0.1",
"@types/mime-types": "^2.1.1",
"@types/node": "18.15.11",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.24",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/three": "^0.150.2",
"autoprefixer": "^10.4.19",
"encoding": "^0.1.13",
@@ -98,6 +98,6 @@
"prettier": "3.0.0",
"prettier-plugin-tailwindcss": "0.5.12",
"tailwindcss": "^3.4.1",
"typescript": "5.0.4"
"typescript": "^5"
}
}
+1
View File
@@ -34,6 +34,7 @@ import {
} from "../actions";
export const revalidate = 300;
export const dynamic = "force-dynamic";
type Props = {
params: {
+1
View File
@@ -10,6 +10,7 @@ import Markdown from "./@markdown";
import { GetFiles, GetReadme } from "./actions";
export const revalidate = 300;
export const dynamic = 'force-dynamic'
export default async function RootPage() {
const [data, readme] = await Promise.all([
+6 -1
View File
@@ -9,5 +9,10 @@ import { NextResponse } from "next/server";
*/
export async function GET() {
return new NextResponse();
return new NextResponse(null, {
status: 200,
headers: {
"Content-Type": "text/xml",
},
});
}
+1 -1
View File
@@ -47,6 +47,6 @@
".next",
"**/*/_legacy/**/*",
"**/*/_app/**/*",
"**/*/_pages/**/*"
"**/*/_page/**/*"
]
}
+763 -1219
View File
File diff suppressed because it is too large Load Diff