mirror of
https://github.com/eliasrenman/gardentron.git
synced 2026-03-16 20:46:07 +01:00
feat: added moisture checker
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { startServer } from "./server";
|
||||
import { prisma } from "./prisma";
|
||||
|
||||
startServer()
|
||||
.then(async () => {
|
||||
await prisma.$disconnect();
|
||||
})
|
||||
.catch(async (e) => {
|
||||
console.error(e);
|
||||
await prisma.$disconnect();
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user