1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

fix: using monaco editor locally

This commit is contained in:
Saad Jutt
2022-05-02 05:57:03 +05:00
parent 238aa1006f
commit 2548c82dfe
6 changed files with 126 additions and 265 deletions

View File

@@ -41,8 +41,7 @@ export const csrfProtection = csrf({ cookie: cookieOptions })
/***********************************
* Handle security and origin *
***********************************/
// TODO: fix monaco loader from npm package before enabling helmet
// app.use(helmet())
app.use(helmet())
/***********************************
* Enabling CORS *