mirror of
https://github.com/LittleChest/Dohna-NS.git
synced 2026-09-20 00:06:51 +08:00
vercel: Add Vercel support
This commit is contained in:
@@ -9,3 +9,6 @@ pnpm-lock.yaml
|
|||||||
|
|
||||||
# Yarn
|
# Yarn
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|
||||||
|
# Vercel
|
||||||
|
.vercel
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
import handler from "./common";
|
||||||
|
|
||||||
|
export default middleware = async (request) => {
|
||||||
|
return handler(request);
|
||||||
|
};
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"installCommand": "mkdir publish",
|
||||||
|
"buildCommand": "echo 1 > ./publish/index",
|
||||||
|
"outputDirectory": "publish",
|
||||||
|
"public": false,
|
||||||
|
"trailingSlash": false
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user