no need for jwt token/secret on the proxy
This commit is contained in:
parent
037b001de6
commit
0e64f654ec
@ -21,11 +21,6 @@ export default (app) => {
|
|||||||
logger.error(ex);
|
logger.error(ex);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!config.jwtSecret) {
|
|
||||||
logger.crit("Jwtprivatekey is not defined");
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
app.enable("trust proxy");
|
app.enable("trust proxy");
|
||||||
// app.use(cors());
|
// app.use(cors());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user