Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Update server.js #53

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const Logger = require("./src/logger");
const HttpServer = require("./src/httpServer");

const basePath = process.env.BASE_PATH || "web";
const httpPort = process.env.HTTP_PORT || 80;
const httpsPort = process.env.HTTPS_PORT || 443;
const httpPort = process.env.PORT || 80;
const httpsPort = process.env.PORT || 443;
const key = process.env.KEY || "certificates/localhost.key";
const cert = process.env.CERT || "certificates/localhost.pem";
const ca = process.env.CA || undefined;
Expand Down