mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 07:39:44 +02:00
Initial commit
This commit is contained in:
commit
5ffef61fe7
613 changed files with 91659 additions and 0 deletions
25
server/config/custom.js
Normal file
25
server/config/custom.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
/**
|
||||
* Custom configuration
|
||||
* (sails.config.custom)
|
||||
*
|
||||
* One-off settings specific to your application.
|
||||
*
|
||||
* For more information on custom configuration, visit:
|
||||
* https://sailsjs.com/config/custom
|
||||
*/
|
||||
|
||||
const path = require('path');
|
||||
const sails = require('sails');
|
||||
|
||||
module.exports.custom = {
|
||||
/***************************************************************************
|
||||
* *
|
||||
* Any other custom config this Sails app should use during development. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
baseUrl: process.env.BASE_URL,
|
||||
|
||||
uploadsPath: path.join(sails.config.paths.tmp, 'public', 'uploads'),
|
||||
uploadsUrl: `${process.env.BASE_URL}/uploads`,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue