-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR Test 2 #2
base: main
Are you sure you want to change the base?
PR Test 2 #2
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Vulnerability F on line 69 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
// mongoose setup | ||
require('./mongoose-db'); | ||
require('./typeorm-db') | ||
require('./typeorm-db'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reply |
||
|
||
var st = require('st'); | ||
var crypto = require('crypto'); | ||
|
@@ -71,6 +71,8 @@ app.use('/users', routesUsers) | |
// Static | ||
app.use(st({ path: './public', url: '/public' })); | ||
|
||
console.log('test'); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Vulnerability B |
||
|
||
// Add the option to output (sanitized!) markdown | ||
marked.setOptions({ sanitize: true }); | ||
app.locals.marked = marked; | ||
|
@@ -80,7 +82,7 @@ if (app.get('env') == 'development') { | |
app.use(errorHandler()); | ||
} | ||
|
||
var token = 'SECRET_TOKEN_f8ed84e8f41e4146403dd4a6bbcea5e418d23a9'; | ||
var token = 'SECRET_TOKEN_f8ed84e8f41e4146403dd4a6bbcea5e418d23a9'; // inline | ||
console.log('token: ' + token); | ||
|
||
http.createServer(app).listen(app.get('port'), function () { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vulnerability D on line 42