dependency conflict
This commit is contained in:
27
.gitignore
vendored
Normal file
27
.gitignore
vendored
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
|
||||||
|
# next.js
|
||||||
|
/.next/
|
||||||
|
/out/
|
||||||
|
|
||||||
|
# production
|
||||||
|
/build
|
||||||
|
|
||||||
|
# debug
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
.pnpm-debug.log*
|
||||||
|
|
||||||
|
# env files
|
||||||
|
.env*
|
||||||
|
|
||||||
|
# vercel
|
||||||
|
.vercel
|
||||||
|
|
||||||
|
# typescript
|
||||||
|
*.tsbuildinfo
|
||||||
|
next-env.d.ts
|
||||||
24
app/page.tsx
24
app/page.tsx
@@ -1,18 +1,10 @@
|
|||||||
export const dynamic = 'force-dynamic'
|
export default function Home() {
|
||||||
|
return (
|
||||||
export async function GET() {
|
<div className="min-h-screen flex items-center justify-center bg-slate-50 dark:bg-slate-900">
|
||||||
return new Response(
|
<div className="text-center p-6">
|
||||||
JSON.stringify({
|
<h1 className="text-3xl font-bold text-slate-900 dark:text-white mb-4">API v1.6</h1>
|
||||||
success: true,
|
<p className="text-slate-600 dark:text-slate-400 mb-6">所谓的奇迹,要真的发生才有价值</p>
|
||||||
code: 200,
|
</div>
|
||||||
message: "所谓的奇迹,要真的发生才有价值。",
|
</div>
|
||||||
version: "1.6"
|
|
||||||
}),
|
|
||||||
{
|
|
||||||
status: 200,
|
|
||||||
headers: {
|
|
||||||
'Content-Type': 'application/json'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
4674
package-lock.json
generated
Normal file
4674
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user