Skip to content

Commit fe70967

Browse files
committed
fix: update configuration files to improve compatibility and environment settings
1 parent 5b205b2 commit fe70967

3 files changed

Lines changed: 29 additions & 5 deletions

File tree

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.8'
2-
31
services:
42
app:
53
build:

next.config.mjs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,20 @@ const nextConfig = {
99
ignoreDuringBuilds: true,
1010
},
1111
images: {
12-
domains: ["lh3.googleusercontent.com","images.unsplash.com", "assets.aceternity.com"],
12+
remotePatterns: [
13+
{
14+
protocol: 'https',
15+
hostname: 'lh3.googleusercontent.com',
16+
},
17+
{
18+
protocol: 'https',
19+
hostname: 'images.unsplash.com',
20+
},
21+
{
22+
protocol: 'https',
23+
hostname: 'assets.aceternity.com',
24+
},
25+
],
1326
},
1427
experimental: {
1528
serverActions: {

wrangler.toml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
NODE_VERSION = "18.18.0"
1+
name = "coc-website"
2+
main = "app/_worker.js"
23
compatibility_flags = ["nodejs_compat"]
3-
compatibility_date = "2024-01-05"
4+
compatibility_date = "2025-01-01"
5+
6+
[vars]
7+
NODE_VERSION = "22"
8+
9+
10+
# Secrets (add via: npx wrangler secret put <NAME>)
11+
# - GOOGLE_CLIENT_ID
12+
# - GOOGLE_CLIENT_SECRET
13+
# - NEXTAUTH_SECRET
14+
# - NEXT_PUBLIC_SUPABASE_ANON_KEY
15+
# - SUPABASE_SERVICE_ROLE_KEY
16+
# - JWT_SECRET

0 commit comments

Comments
 (0)