mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 15:28:25 +00:00
fix(express deploy): fix situations when env variables doesn't load before request processing (#3231)
This commit is contained in:
parent
8d7e9df697
commit
dda9647c49
1 changed files with 1 additions and 2 deletions
|
|
@ -1,12 +1,11 @@
|
|||
import "dotenv/config";
|
||||
import statsCard from "./api/index.js";
|
||||
import repoCard from "./api/pin.js";
|
||||
import langCard from "./api/top-langs.js";
|
||||
import wakatimeCard from "./api/wakatime.js";
|
||||
import gistCard from "./api/gist.js";
|
||||
import express from "express";
|
||||
import dotenv from "dotenv";
|
||||
|
||||
dotenv.config();
|
||||
const app = express();
|
||||
app.listen(process.env.port || 9000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue