Skip to content

Commit

Permalink
Merge pull request #7 from rafaelmonteiro/render
Browse files Browse the repository at this point in the history
Render
  • Loading branch information
rafaelmonteiro committed Jul 31, 2023
2 parents 664745a + 5d2a5eb commit 7af186f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vercelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
3 changes: 3 additions & 0 deletions api/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

require __DIR__ . '/../public/index.php';
10 changes: 10 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"functions": {
"api/index.php": {
"runtime": "vercel-php@0.3.3"
}
},
"routes": [
{ "src": "/(.*)", "dest": "/api/index.php" }
]
}

0 comments on commit 7af186f

Please sign in to comment.