mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to deactivate cache
This commit is contained in:
@@ -20,7 +20,7 @@ var mongo_db_cred = {config: 'mydb'};
|
|||||||
app.engine('handlebars', hbs.engine);
|
app.engine('handlebars', hbs.engine);
|
||||||
//hbs.loadPartials(publicPath + "/layouts/");
|
//hbs.loadPartials(publicPath + "/layouts/");
|
||||||
app.set('view engine', 'handlebars');
|
app.set('view engine', 'handlebars');
|
||||||
app.enable('view cache');
|
//app.enable('view cache');
|
||||||
app.set('views', publicPath);
|
app.set('views', publicPath);
|
||||||
|
|
||||||
try{
|
try{
|
||||||
@@ -59,7 +59,7 @@ catch(err){
|
|||||||
});
|
});
|
||||||
var http = require('http');
|
var http = require('http');
|
||||||
server = http.Server(app);
|
server = http.Server(app);
|
||||||
add = ",http://localhost:80*,http://localhost:8080*,localhost:8080*, localhost:8082*,,http://zoff.dev:80*,http://zoff.dev:8080*,zoff.dev:8080*, zoff.dev:8082*";
|
add = ",http://localhost:80*,http://localhost:8080*,localhost:8080*, localhost:8082*,http://zoff.dev:80*,http://zoff.dev:8080*,zoff.dev:8080*, zoff.dev:8082*";
|
||||||
}
|
}
|
||||||
|
|
||||||
var bodyParser = require('body-parser');
|
var bodyParser = require('body-parser');
|
||||||
|
|||||||
Reference in New Issue
Block a user