🔧 Fixed a port check

This commit is contained in:
2021-11-24 15:54:09 -08:00
parent 2d75ba25bd
commit 25d68edbc4
4 changed files with 30 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
const port: number = Number(process.env.PORT) || 8050; // set our port
const proxyPort = 8050; // set our port
app.get("/", (req: Request, res: Response) => {
console.log("sending index.html");
@@ -44,6 +43,6 @@ cors_proxy
"ThreeTwo! Express server with CORS Anywhere running on " +
host +
":" +
proxyPort,
port,
);
});