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:
parent
6eb431f721
commit
d24c9a7968
30 changed files with 1202 additions and 1744 deletions
5
server/config/env/production.js
vendored
5
server/config/env/production.js
vendored
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue