Skip to content

Commit 8edfeb3

Browse files
committed
Production testing
1 parent 437a243 commit 8edfeb3

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

package-lock.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ require("dotenv").config();
33
const cors = require("cors");
44
const ftp = require("basic-ftp");
55
var SimpleCrypto = require("simple-crypto-js").default;
6-
const PORT = process.env.PORT || 3000;
76

8-
// playground end
7+
const PORT = process.env.PORT || 3000;
98

109
const app = express();
10+
1111
app.use(express.json()); // for parsing application/json
1212
app.use(cors());
1313

@@ -20,6 +20,8 @@ app.use(function(req, res, next) {
2020
next();
2121
});
2222

23+
console.log(process.env.PASSWORD);
24+
2325
// initializes as empty client array
2426
const clients = {};
2527

0 commit comments

Comments
 (0)