-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathvercel.json
33 lines (33 loc) · 911 Bytes
/
vercel.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"cleanUrls": true,
"functions": {
"api/winget-pkgs/versions.py": {
"memory": 1024,
"maxDuration": 10,
"excludeFiles": "{java_programs,node_modules,sheltasks-cli,website,WinGetAutomation}/**/*"
},
"api/*": {
"memory": 1024,
"maxDuration": 10
}
},
"rewrites": [
{
"source": "/api/winget-pkgs/versions:m(_source_msix|_repo_zip)?/:package_identifier",
"destination": "/api/winget-pkgs/versions:m?package_identifier=:package_identifier"
},
{
"source": "/api/winget-pkgs/manifests/:package_identifier/:version?",
"destination": "/api/winget-pkgs/manifests"
}
],
"public": false,
"buildCommand": "cd website && hugo --gc",
"outputDirectory": "website/public",
"framework": "hugo",
"github": {
"autoJobCancelation": true
},
"trailingSlash": false
}