trying to fix vercel
This commit is contained in:
parent
0ccdd7e2b4
commit
537f7a9885
|
|
@ -2,13 +2,6 @@
|
|||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
swcMinify: true,
|
||||
// Environment variables that should be available on the client side
|
||||
env: {
|
||||
NEXT_PUBLIC_PUSHER_APP_KEY: process.env.NEXT_PUBLIC_PUSHER_APP_KEY,
|
||||
NEXT_PUBLIC_PUSHER_CLUSTER: process.env.NEXT_PUBLIC_PUSHER_CLUSTER,
|
||||
NEXT_PUBLIC_SUPABASE_URL: process.env.NEXT_PUBLIC_SUPABASE_URL,
|
||||
NEXT_PUBLIC_SUPABASE_ANON_KEY: process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = nextConfig
|
||||
|
|
@ -23,6 +23,6 @@
|
|||
"eslint-config-next": "^14.0.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
"node": "18.x"
|
||||
}
|
||||
}
|
||||
|
|
@ -17,14 +17,10 @@ const ChessApp = dynamic(() => import('../components/ChessApp'), {
|
|||
|
||||
export default function Home() {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Commons Hub Chess Tournament</title>
|
||||
<meta name="description" content="Official Mycelial-Betting Network for Chess Tournaments" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
<ChessApp />
|
||||
</>
|
||||
<div style={{ padding: '20px', fontFamily: 'Arial, sans-serif' }}>
|
||||
<h1>Hello World!</h1>
|
||||
<p>If you can see this, Next.js routing is working.</p>
|
||||
<p>Current time: {new Date().toISOString()}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in New Issue