mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 12:49:43 +02:00
25 lines
842 B
JavaScript
25 lines
842 B
JavaScript
/**
|
|
* 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.public, 'uploads'),
|
|
uploadsUrl: `${process.env.BASE_URL}/uploads`,
|
|
};
|