mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
Code formatting with prettier, change eslint config for the server
This commit is contained in:
parent
bc87c1d883
commit
7a3805e64c
191 changed files with 4321 additions and 2880 deletions
|
@ -14,18 +14,18 @@
|
|||
*/
|
||||
|
||||
module.exports.security = {
|
||||
/***************************************************************************
|
||||
* *
|
||||
* CORS is like a more modern version of JSONP-- it allows your application *
|
||||
* to circumvent browsers' same-origin policy, so that the responses from *
|
||||
* your Sails app hosted on one domain (e.g. example.com) can be received *
|
||||
* in the client-side JavaScript code from a page you trust hosted on _some *
|
||||
* other_ domain (e.g. trustedsite.net). *
|
||||
* *
|
||||
* For additional options and more information, see: *
|
||||
* https://sailsjs.com/docs/concepts/security/cors *
|
||||
* *
|
||||
***************************************************************************/
|
||||
/**
|
||||
*
|
||||
* CORS is like a more modern version of JSONP-- it allows your application
|
||||
* to circumvent browsers' same-origin policy, so that the responses from
|
||||
* your Sails app hosted on one domain (e.g. example.com) can be received
|
||||
* in the client-side JavaScript code from a page you trust hosted on _some
|
||||
* other_ domain (e.g. trustedsite.net).
|
||||
*
|
||||
* For additional options and more information, see:
|
||||
* https://sailsjs.com/docs/concepts/security/cors
|
||||
*
|
||||
*/
|
||||
|
||||
cors: {
|
||||
allRoutes: true,
|
||||
|
@ -34,19 +34,19 @@ module.exports.security = {
|
|||
allowCredentials: false,
|
||||
},
|
||||
|
||||
/****************************************************************************
|
||||
* *
|
||||
* By default, Sails' built-in CSRF protection is disabled to facilitate *
|
||||
* rapid development. But be warned! If your Sails app will be accessed by *
|
||||
* web browsers, you should _always_ enable CSRF protection before deploying *
|
||||
* to production. *
|
||||
* *
|
||||
* To enable CSRF protection, set this to `true`. *
|
||||
* *
|
||||
* For more information, see: *
|
||||
* https://sailsjs.com/docs/concepts/security/csrf *
|
||||
* *
|
||||
****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* By default, Sails' built-in CSRF protection is disabled to facilitate
|
||||
* rapid development. But be warned! If your Sails app will be accessed by
|
||||
* web browsers, you should _always_ enable CSRF protection before deploying
|
||||
* to production.
|
||||
*
|
||||
* To enable CSRF protection, set this to `true`.
|
||||
*
|
||||
* For more information, see:
|
||||
* https://sailsjs.com/docs/concepts/security/csrf
|
||||
*
|
||||
*/
|
||||
|
||||
// csrf: false,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue