chore: comments (#158)
Some checks failed
Publish latest version / build (push) Failing after 1m16s
Some checks failed
Publish latest version / build (push) Failing after 1m16s
take from #154e43234f790
0747c3ebe4
Reviewed-on: #158 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
parent
110142c2e7
commit
8243ac7e31
1 changed files with 1 additions and 3 deletions
|
@ -1,12 +1,10 @@
|
||||||
/** 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)));
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load .env if not in prod
|
// 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
|
|
||||||
// @ts-ignore
|
|
||||||
import("dotenv").then((c) => {
|
import("dotenv").then((c) => {
|
||||||
c.config({ path: "./config/.env" });
|
c.config({ path: "./config/.env" });
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue