-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
98 lines (98 loc) · 2.01 KB
/
Copy pathvercel.json
File metadata and controls
98 lines (98 loc) · 2.01 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
],
"trailingSlash": false,
"cleanUrls": true,
"redirects": [
{
"source": "/analytics",
"destination": "/settings",
"permanent": true
}
],
"rewrites": [
{
"source": "/api/health",
"destination": "/api/system"
},
{
"source": "/api/report-issue",
"destination": "/api/system"
},
{
"source": "/api/me",
"destination": "/api/account?op=me"
},
{
"source": "/api/keys",
"destination": "/api/account?op=keys"
},
{
"source": "/api/admin-feedback",
"destination": "/api/admin?op=feedback"
},
{
"source": "/api/admin-events",
"destination": "/api/admin?op=events"
},
{
"source": "/api/generate-pdf",
"destination": "/api/pdf?op=generate"
},
{
"source": "/api/merge-pdf",
"destination": "/api/pdf?op=basic/merge"
},
{
"source": "/api/split-pdf",
"destination": "/api/pdf?op=basic/split"
},
{
"source": "/api/compress-pdf",
"destination": "/api/pdf?op=optimize/compress"
},
{
"source": "/api/pdf-to-images",
"destination": "/api/pdf?op=convert/to-pages"
},
{
"source": "/api/images-to-pdf",
"destination": "/api/pdf?op=convert/from-images"
},
{
"source": "/api/pdf-fallback",
"destination": "/api/pdf?op=fallback"
},
{
"source": "/api/pdf/:op*",
"destination": "/api/pdf?op=:op*"
},
{
"source": "/api/account/:op*",
"destination": "/api/account?op=:op*"
},
{
"source": "/api/admin/:op*",
"destination": "/api/admin?op=:op*"
},
{
"source": "/api/file/:op*",
"destination": "/api/file?op=:op*"
}
],
"crons": [
{
"path": "/api/system?op=sweep",
"schedule": "0 3 * * *"
}
]
}