Browse Source

Phase III Task 4

master
Yutsuo 7 years ago
parent
commit
804ff00547
  1. 14
      .vscode/launch.json
  2. 1
      node/app.js

14
.vscode/launch.json vendored

@ -0,0 +1,14 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceFolder}/node\\app.js"
}
]
}

1
node/app.js

@ -18,7 +18,6 @@ const successUrl = 'http://localhost:3002/yay.html';
const failureUrl = 'http://localhost:3002/nay.html';
app.use(cookieParser());
app.use(cookie());
// const morgan = require('morgan');
// // use morgan to log requests to the console

Loading…
Cancel
Save