Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PStA WP2 OmarElkadi1
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Omar Elkadi
PStA WP2 OmarElkadi1
Commits
a226f740
Commit
a226f740
authored
3 years ago
by
Omar Elkadi
Browse files
Options
Downloads
Patches
Plain Diff
allow acsses from outside express
parent
deb63dd0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/dist/server.js
+4
-0
4 additions, 0 deletions
server/dist/server.js
with
4 additions
and
0 deletions
server/dist/server.js
+
4
−
0
View file @
a226f740
...
...
@@ -8,3 +8,7 @@ app.get('/', (req, res) => { res.send('Hello World') })
const
PORT
=
process
.
env
.
PORT
||
3000
app
.
listen
(
PORT
,
()
=>
{
console
.
log
(
`Server is running in http://localhost:
${
PORT
}
`
)
})
// # sourceMappingURL=server.js.map
app
.
listen
(
3000
,
'
0.0.0.0
'
,
function
()
{
console
.
log
(
'
Listening to port:
'
+
3000
)
})
This diff is collapsed.
Click to expand it.
Omar Elkadi
@oe01264
mentioned in commit
89bf2fc1
·
3 years ago
mentioned in commit
89bf2fc1
mentioned in commit 89bf2fc1613e0dcd1d77f33223a7f2f47adcb958
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment