mirror of
https://github.com/filecoffee/filehost.git
synced 2024-11-13 19:49:56 +01:00
port from env
This commit is contained in:
parent
7082457c35
commit
8075a58510
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -5,7 +5,7 @@ const fileRoutes = require("./routes/file.routes");
|
|||
const helmet = require("helmet");
|
||||
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
const port = process.env.PORT;
|
||||
const apiKeys = process.env.API_KEYS.split(",");
|
||||
const allowPublicUploads = process.env.ALLOW_PUBLIC_UPLOADS === "true";
|
||||
const hosterEmail = process.env.HOSTER_EMAIL;
|
||||
|
|
Loading…
Reference in a new issue