1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 23:59:48 +02:00

Docker, update readme, update dependencies

This commit is contained in:
Maksim Eltyshev 2019-10-01 04:18:33 +05:00
parent 6eb431f721
commit d24c9a7968
30 changed files with 1202 additions and 1744 deletions

View file

@ -19,6 +19,7 @@
* https://sailsjs.com/docs/concepts/deployment
*/
const url = require('url');
const path = require('path');
const sails = require('sails');
@ -246,7 +247,7 @@ module.exports = {
***************************************************************************/
onlyAllowOrigins: [
process.env.BASE_URL,
new url.URL(process.env.BASE_URL).origin,
],
/***************************************************************************
@ -360,7 +361,7 @@ module.exports = {
custom: {
baseUrl: process.env.BASE_URL,
uploadsPath: path.join(sails.config.paths.tmp, 'public', 'uploads'),
uploadsPath: path.join(sails.config.paths.public, 'uploads'),
uploadsUrl: `${process.env.BASE_URL}/uploads`,
// mailgunDomain: 'mg.example.com',