Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit df6a6f3

Browse files
committed
Revert Bikes to port 3000 and add vscode debug assets
1 parent d88af33 commit df6a6f3

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ bld/
2626

2727
# Visual Studio 2015 cache/options directory
2828
.vs/
29-
.vscode/
3029
# Uncomment if you have tasks that create the project's static files in wwwroot
3130
#wwwroot/
3231

samples/BikeSharingApp/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ ClientBin/
196196
*.publishsettings
197197
node_modules/
198198
orleans.codegen.cs
199-
.vscode
200199

201200
# Since there are multiple workflows, uncomment next line to ignore bower_components
202201
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)

samples/BikeSharingApp/Bikes/.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
*.tgz
33
requirements.lock
44

5-
.*/
6-
75
# Logs
86
logs
97
*.log
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"configurations": [
3+
{
4+
"type": "node",
5+
"request": "launch",
6+
"name": "Launch via NPM",
7+
"runtimeExecutable": "npm",
8+
"runtimeArgs": [
9+
"run-script",
10+
"debug"
11+
],
12+
"port": 9229
13+
}
14+
]
15+
}

samples/BikeSharingApp/Bikes/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ app.get('/hello', function(req, res) {
351351
});
352352

353353
// start server ------------------------------------------------------------
354-
var port = process.env.PORT || 80;
354+
var port = process.env.PORT || 3000;
355355
var server = null;
356356

357357
process.on("SIGINT", () => {

0 commit comments

Comments
 (0)