Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

hmm fix

Andras Bacsai51b5edb04fd1
diff --git a/apps/api/src/lib/services/handlers.ts b/apps/api/src/lib/services/handlers.ts
index 7db1df3e00..d721d1472d 100644
--- a/apps/api/src/lib/services/handlers.ts
+++ b/apps/api/src/lib/services/handlers.ts
@@ -50,16 +50,7 @@ export async function startService(request: FastifyRequest<ServiceStartStop>, fa
const config = {};
for (const s in template.services) {
let newEnvironments = []
- if (arm && template.services[s]?.environmentArm?.length > 0) {
- for (const environment of template.services[s].environmentArm) {
- let [env, ...value] = environment.split("=");
- value = value.join("=")
- if (!value.startsWith('$$secret') && value !== '') {
- newEnvironments.push(`${env}=${value}`)
- }
- }
- }
- if (!arm && template.services[s]?.environment?.length > 0) {
+ if (template.services[s]?.environment?.length > 0) {
for (const environment of template.services[s].environment) {
let [env, ...value] = environment.split("=");
value = value.join("=")