comments
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 11s
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 11s
take from #154 e43234f790
This commit is contained in:
parent
110142c2e7
commit
37aeac0fdf
1 changed files with 1 additions and 3 deletions
|
@ -1,12 +1,10 @@
|
|||
/** Load the app. */
|
||||
/** Load the app */
|
||||
const start_app = () => {
|
||||
import("./load").then((l) => l.run().catch((error) => console.error(error)));
|
||||
};
|
||||
|
||||
// Load .env if not in prod
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
import("dotenv").then((c) => {
|
||||
c.config({ path: "./config/.env" });
|
||||
|
||||
|
|
Loading…
Reference in a new issue