-
Notifications
You must be signed in to change notification settings - Fork 356
Azure template fix #1519
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
Azure template fix #1519
Changes from all commits
e52691c
18e959b
37edbc7
53e0f77
1fa539a
b2c35de
7df8955
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
'use strict'; | ||
var debug = require('debug'); | ||
var express = require('express'); | ||
var path = require('path'); | ||
var favicon = require('serve-favicon'); | ||
|
@@ -57,5 +58,8 @@ app.use(function (err, req, res, next) { | |
}); | ||
}); | ||
|
||
app.set('port', process.env.PORT || 3000); | ||
|
||
module.exports = app; | ||
var server = app.listen(app.get('port'), function () { | ||
debug('Express server listening on port ' + server.address().port); | ||
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. Did you try running this and seeing if there are errors? I don't see where 'debug' is defined/imported, so I assume this line throws. 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. Forgot to comment that out in the template. |
||
}); |
This file was deleted.
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.
Why are you leaving the iisnode.yml file in some templates, and not others? Is it needed in some?
Uh oh!
There was an error while loading. Please reload this page.
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.
removed from the actual projects, put left in the csproj file by accident. Removed now