mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
Merge pull request #85 from Amialc/master
semicolons and indentation fix
This commit is contained in:
commit
23b6242d2a
@ -9,10 +9,10 @@ dotenv.load();
|
|||||||
|
|
||||||
var env = {
|
var env = {
|
||||||
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID,
|
AUTH0_CLIENT_ID: process.env.AUTH0_CLIENT_ID,
|
||||||
AUTH0_DOMAIN: process.env.AUTH0_DOMAIN,
|
AUTH0_DOMAIN: process.env.AUTH0_DOMAIN
|
||||||
}
|
};
|
||||||
|
|
||||||
app.set('views', __dirname + '/views')
|
app.set('views', __dirname + '/views');
|
||||||
app.set('view engine', 'jade');
|
app.set('view engine', 'jade');
|
||||||
|
|
||||||
io
|
io
|
||||||
@ -31,11 +31,8 @@ io
|
|||||||
app.use(express.static(__dirname + '/public'));
|
app.use(express.static(__dirname + '/public'));
|
||||||
|
|
||||||
app.get('/', function (req, res) {
|
app.get('/', function (req, res) {
|
||||||
res.render('index',
|
res.render('index', { env: env });
|
||||||
{ env: env }
|
});
|
||||||
|
|
||||||
)
|
|
||||||
})
|
|
||||||
|
|
||||||
http.listen(3001, function(){
|
http.listen(3001, function(){
|
||||||
console.log('listening on *:3001');
|
console.log('listening on *:3001');
|
||||||
|
Loading…
Reference in New Issue
Block a user