mirror of
https://github.com/LittleChest/Dohna-NS.git
synced 2026-05-06 22:44:50 +08:00
netlify: Add Netlify support
This commit is contained in:
parent
9cb37b1bd9
commit
d45f610c32
3
.gitignore
vendored
3
.gitignore
vendored
@ -12,3 +12,6 @@ yarn.lock
|
|||||||
|
|
||||||
# Vercel
|
# Vercel
|
||||||
.vercel
|
.vercel
|
||||||
|
|
||||||
|
# Netlify
|
||||||
|
.netlify
|
||||||
|
|||||||
3
netlify.toml
Normal file
3
netlify.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[build]
|
||||||
|
command = "mkdir publish"
|
||||||
|
publish = "publish"
|
||||||
3
netlify/edge-functions/middleware.js
Normal file
3
netlify/edge-functions/middleware.js
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
import handler from "../../common.js";
|
||||||
|
export default (request) => handler(request);
|
||||||
|
export const config = { path: "*" };
|
||||||
Loading…
x
Reference in New Issue
Block a user