Skip to content

Commit

Permalink
peker mot route.js fil for Vercel. Tror det blir riktig.
Browse files Browse the repository at this point in the history
  • Loading branch information
haakoaho committed Nov 20, 2023
1 parent d64f0a7 commit 5ea5c73
Showing 1 changed file with 24 additions and 22 deletions.
46 changes: 24 additions & 22 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{
"github": {
"silent": true
"silent": true
},
"functions": {
"app/api/**/*": {
"maxDuration": 30
},
"app/api/**/*": {
"maxDuration": 30
}
},
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Real-IP",
"value": "$remote_addr"
},
{
"key": "X-Forwarded-For",
"value": "$proxy_add_x_forwarded_for"
},
{
"key": "Host",
"value": "$http_host"
}
]
}
{
"source": "/(.*)",
"headers": [
{
"key": "X-Real-IP",
"value": "$remote_addr"
},
{
"key": "X-Forwarded-For",
"value": "$proxy_add_x_forwarded_for"
},
{
"key": "Host",
"value": "$http_host"
}
]
}
]
}
}

0 comments on commit 5ea5c73

Please sign in to comment.