-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
69 lines (67 loc) · 1.84 KB
/
vercel.json
File metadata and controls
69 lines (67 loc) · 1.84 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
{
"version": 2,
"framework": null,
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.6.2",
"includeFiles": "public/build/**"
}
},
"routes": [
{
"src": "/build/(.*)",
"dest": "/public/build/$1",
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"src": "/assets/(.*)",
"dest": "/public/build/assets/$1",
"headers": {
"Cache-Control": "public, max-age=31536000, immutable"
}
},
{
"src": "/images/(.*)",
"dest": "/public/images/$1"
},
{
"src": "/(.*)",
"dest": "/api/index.php",
"headers": {
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "strict-origin-when-cross-origin"
}
}
],
"public": true,
"buildCommand": "npm install && npm run build",
"outputDirectory": "public",
"env": {
"APP_ENV": "production",
"APP_DEBUG": "false",
"APP_URL": "https://booklib-six.vercel.app",
"APP_KEY": "base64:b8W5CioBFUmMIKLNxTfC3kS9CCFwuKhe7rBLg/HDkeQ=",
"APP_CONFIG_CACHE": "/tmp/config.php",
"APP_EVENTS_CACHE": "/tmp/events.php",
"APP_PACKAGES_CACHE": "/tmp/packages.php",
"APP_ROUTES_CACHE": "/tmp/routes.php",
"APP_SERVICES_CACHE": "/tmp/services.php",
"VIEW_COMPILED_PATH": "/tmp",
"CACHE_DRIVER": "array",
"LOG_CHANNEL": "stderr",
"SESSION_DRIVER": "cookie",
"DB_CONNECTION": "mysql",
"DB_HOST": "gateway01.ap-southeast-1.prod.aws.tidbcloud.com",
"DB_PORT": "4000",
"DB_DATABASE": "test",
"DB_USERNAME": "45eAGhq2sUVJiTk.root",
"DB_PASSWORD": "8kGYjeDTI9jMzfKp",
"DB_SSL_MODE": "required",
"DB_SSL_CA":"certs/tidb.pem"
}
}