Compare commits
3 Commits
4908d6644a
...
43ca16dc80
| Author | SHA1 | Date | |
|---|---|---|---|
| 43ca16dc80 | |||
| 121bed59fd | |||
| 4e885ce74c |
@@ -71,7 +71,7 @@
|
||||
}
|
||||
},
|
||||
"admConfig": {
|
||||
"build": 20,
|
||||
"build": 22,
|
||||
"oldBuild": "backend-0.1.2-218.zip"
|
||||
}
|
||||
}
|
||||
@@ -129,10 +129,11 @@ process.on("beforeExit", async () => {
|
||||
//await closePool();
|
||||
});
|
||||
|
||||
const port = process.env.NODE_ENV === "development" ? process.env.VITE_SERVER_PORT : process.env.PROD_PORT;
|
||||
serve(
|
||||
{
|
||||
fetch: app.fetch,
|
||||
port: Number(process.env.VITE_SERVER_PORT),
|
||||
port: Number(port),
|
||||
hostname: "0.0.0.0",
|
||||
},
|
||||
(info) => {
|
||||
|
||||
Reference in New Issue
Block a user