Skip to content

Commit 2cae468

Browse files
committed
Revert Port
1 parent d81118f commit 2cae468

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ RUN npm ci --only=production
1010
# Bundle app source
1111
COPY . .
1212

13-
EXPOSE 5050
13+
EXPOSE 5000
1414

1515
CMD [ "npm", "start" ]

localserver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const serialize = require("serialize-javascript");
77
import filesToParts from "./io/filesToParts";
88

99
const app = express()
10-
const port = 5050
10+
const port = 5000
1111
const addr = "localhost"
1212

1313
app.use(express.json());

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const serialize = require("serialize-javascript");
77
import filesToParts from "./io/filesToParts";
88

99
const app = express()
10-
const port = 5050
10+
const port = 5000
1111
const addr = "localhost"
1212

1313
app.use(express.json());
@@ -103,7 +103,7 @@ function getFileData(url, token=null) {
103103
return new Promise((resolve, reject) => {
104104
const options = {
105105
url: url,
106-
headers: {}
106+
headers: {"Accept": "text/plain"}
107107
};
108108
if (token) {
109109
options.headers['X-authorization'] = token;

0 commit comments

Comments
 (0)