This commit is contained in:
Mylloon 2024-09-04 13:04:11 +02:00 committed by Mylloon
parent 12f57e9195
commit e43234f790
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
/** Load the app. */ /** Load the app */
const start_app = () => { const start_app = () => {
import("./load").then((l) => l.run().catch((error) => console.error(error))); import("./load").then((l) => l.run().catch((error) => console.error(error)));
}; };

View file

@ -8,6 +8,7 @@ const start_manager = () => {
manager.spawn(); manager.spawn();
}; };
// Load .env if not in prod
if (process.env.NODE_ENV !== "production") { if (process.env.NODE_ENV !== "production") {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore