netlify: Add Netlify support

This commit is contained in:
LittleChest 2024-10-22 20:59:23 +08:00
parent 9cb37b1bd9
commit d45f610c32
3 changed files with 9 additions and 0 deletions

3
.gitignore vendored
View File

@ -12,3 +12,6 @@ yarn.lock
# Vercel
.vercel
# Netlify
.netlify

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
command = "mkdir publish"
publish = "publish"

View File

@ -0,0 +1,3 @@
import handler from "../../common.js";
export default (request) => handler(request);
export const config = { path: "*" };