1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00
planka/server/config/custom.js

26 lines
842 B
JavaScript
Raw Normal View History

2019-08-31 04:07:25 +05:00
/**
* 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'),
2019-08-31 04:07:25 +05:00
uploadsUrl: `${process.env.BASE_URL}/uploads`,
};