From 0a448672402e4393dc2c5d5d86ddc547c328995e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 12 Aug 2022 09:38:02 +0200 Subject: [PATCH] chore: version++ --- apps/api/src/lib/common.ts | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index ca1caa697..ccbd969c9 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -17,7 +17,7 @@ import { checkContainer, removeContainer } from './docker'; import { day } from './dayjs'; import * as serviceFields from './serviceFields' -export const version = '3.2.2'; +export const version = '3.2.3'; export const isDev = process.env.NODE_ENV === 'development'; const algorithm = 'aes-256-ctr'; @@ -38,8 +38,8 @@ export function getAPIUrl() { const newURL = href.replace('https://', 'https://3001-').replace(/\/$/, '') return newURL } - if (process.env.CODESANDBOX_HOST) { - return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/,'3001')}` + if (process.env.CODESANDBOX_HOST) { + return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3001')}` } return isDev ? 'http://localhost:3001' : 'http://localhost:3000'; } @@ -50,8 +50,8 @@ export function getUIUrl() { const newURL = href.replace('https://', 'https://3000-').replace(/\/$/, '') return newURL } - if (process.env.CODESANDBOX_HOST) { - return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/,'3000')}` + if (process.env.CODESANDBOX_HOST) { + return `https://${process.env.CODESANDBOX_HOST.replace(/\$PORT/, '3000')}` } return 'http://localhost:3000'; } @@ -1637,7 +1637,7 @@ export function persistentVolumes(id, persistentStorage, config) { return `${id}${storage.path.replace(/\//gi, '-')}:${storage.path}`; }) || []; - let volumes = [ ...persistentVolume] + let volumes = [...persistentVolume] if (config.volume) volumes = [config.volume, ...volumes] const composeVolumes = volumes.length > 0 && volumes.map((volume) => { diff --git a/package.json b/package.json index 6127427d4..751b76f3b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "3.2.2", + "version": "3.2.3", "license": "Apache-2.0", "repository": "github:coollabsio/coolify", "scripts": {