konfigurasi vercel
This commit is contained in:
parent
eb9494f946
commit
2adf68f3d2
|
@ -0,0 +1 @@
|
||||||
|
/vendor
|
|
@ -0,0 +1,4 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
// Forward Vercel requests to normal index.php
|
||||||
|
require __DIR__ . '/../public/index.php';
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"framework": null,
|
||||||
|
"functions": {
|
||||||
|
"api/index.php": { "runtime": "vercel-php@0.3.1" }
|
||||||
|
},
|
||||||
|
"routes": [
|
||||||
|
{
|
||||||
|
"src": "/(.*)",
|
||||||
|
"dest": "/api/index.php"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"env": {
|
||||||
|
"APP_ENV": "production",
|
||||||
|
"APP_DEBUG": "true",
|
||||||
|
"APP_URL": "https://yourproductionurl.com",
|
||||||
|
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue