We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d0d93 commit 266fe5cCopy full SHA for 266fe5c
3 files changed
.vercelignore
@@ -0,0 +1,5 @@
1
+/vendor
2
+/.idea
3
+/.code
4
+/.husky
5
+/.github
api/index.php
@@ -0,0 +1,6 @@
+<?php
+/**
+ * Here is the serverless function entry
+ * for deployment with Vercel.
+ */
6
+require __DIR__ . '/../public/index.php';
vercel.json
@@ -1,13 +1,20 @@
{
"functions": {
- "public/index.php": {
+ "api/index.php": {
"runtime": "vercel-php@0.7.1"
+ },
+ "public/**": {
7
+ "runtime": "@vercel/static"
8
}
9
},
10
"routes": [
11
+ {
12
+ "src": "/(css|js)/(.*)",
13
+ "dest": "public/$1/$2"
14
15
16
"src": "/(.*)",
- "dest": "/public/index.php"
17
+ "dest": "/api/index.php"
18
19
]
20
0 commit comments