mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 08:09:44 +02:00
Initial commit
This commit is contained in:
commit
5ffef61fe7
613 changed files with 91659 additions and 0 deletions
50
server/config/globals.js
Normal file
50
server/config/globals.js
Normal file
|
@ -0,0 +1,50 @@
|
|||
/**
|
||||
* Global Variable Configuration
|
||||
* (sails.config.globals)
|
||||
*
|
||||
* Configure which global variables which will be exposed
|
||||
* automatically by Sails.
|
||||
*
|
||||
* For more information on any of these options, check out:
|
||||
* https://sailsjs.com/config/globals
|
||||
*/
|
||||
|
||||
module.exports.globals = {
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Whether to expose the locally-installed Lodash as a global variable *
|
||||
* (`_`), making it accessible throughout your app. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
_: require('lodash'),
|
||||
|
||||
/****************************************************************************
|
||||
* *
|
||||
* This app was generated without a dependency on the "async" NPM package. *
|
||||
* *
|
||||
* > Don't worry! This is totally unrelated to JavaScript's "async/await". *
|
||||
* > Your code can (and probably should) use `await` as much as possible. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
async: false,
|
||||
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Whether to expose each of your app's models as global variables. *
|
||||
* (See the link at the top of this file for more information.) *
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
models: true,
|
||||
|
||||
/****************************************************************************
|
||||
* *
|
||||
* Whether to expose the Sails app instance as a global variable (`sails`), *
|
||||
* making it accessible throughout your app. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
|
||||
sails: true,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue