Skip to content
Snippets Groups Projects
Commit 442b2a30 authored by jonaslarsson's avatar jonaslarsson
Browse files

Changing port back to 3000.

parent ce2a3115
No related branches found
No related tags found
No related merge requests found
Pipeline #80091 passed
image: node:latest
stages:
- build # Jobs placed in build-stage will run first
- test # Jobs placed in test-stage will run after build-jobs
- deploy # Jobs placed in build-stage will run last after test-jobs
install:
stage: build
script:
- npm install
# Keep node_modules-folder for the following stages:
artifacts:
paths:
- node_modules
test:
stage: test # Job test will run in parallel with the job flow
script:
- npm test
flow:
stage: test # Job flow will run in parallel with the job test
script:
- npm install --global flow-bin
- flow check
deploy:
stage: deploy
script:
......
......@@ -4,6 +4,6 @@
<meta charset="UTF-8" />
</head>
<body>
Running on port 2000.
Running back on port 3000.
</body>
</html>
......@@ -9,7 +9,7 @@ app.use(express.static(path.join(__dirname, '../public')));
// The listen promise can be used to wait for the web server to start (for instance in your tests)
export let appListen = new Promise<void>((resolve, reject) => {
app.listen(2000, (error: ?Error) => {
app.listen(3000, (error: ?Error) => {
if (error) return reject(error.message);
console.log('Express server started');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment