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