mirror of https://github.com/franjsco/tick3t-api
edit server
This commit is contained in:
parent
64246543b7
commit
a1f0eadd7c
|
@ -13,7 +13,7 @@ const mongoose = require('./config/database');
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
|
||||||
app.set('secretKey', 'ciccio'); // sostituire con variabili ambiente
|
app.set('secretKey', 'ciccio'); // sostituire con variabili ambiente (env)
|
||||||
app.disable('etag');
|
app.disable('etag');
|
||||||
|
|
||||||
// connection to mongodb
|
// connection to mongodb
|
||||||
|
|
Loading…
Reference in New Issue