From 1e6e85ed5b2569a06f19d548bd39f00170aa844d Mon Sep 17 00:00:00 2001 From: Freilyn Bernabe Date: Thu, 22 Aug 2024 16:08:48 -0400 Subject: [PATCH] style: run code formatting on two files --- apps/dokploy/templates/aptabase/index.ts | 41 +++++++++++------------- apps/dokploy/templates/templates.ts | 4 +-- 2 files changed, 21 insertions(+), 24 deletions(-) diff --git a/apps/dokploy/templates/aptabase/index.ts b/apps/dokploy/templates/aptabase/index.ts index bc83cc81..38b077ae 100644 --- a/apps/dokploy/templates/aptabase/index.ts +++ b/apps/dokploy/templates/aptabase/index.ts @@ -1,30 +1,27 @@ import { - type DomainSchema, - type Schema, - type Template, - generateBase64, - generateRandomDomain, + type DomainSchema, + type Schema, + type Template, + generateBase64, + generateRandomDomain, } from "../utils"; export function generate(schema: Schema): Template { - const mainDomain = generateRandomDomain(schema); - const authSecret = generateBase64(32); + const mainDomain = generateRandomDomain(schema); + const authSecret = generateBase64(32); - const domains: DomainSchema[] = [ - { - host: mainDomain, - port: 8080, - serviceName: "aptabase", - }, - ]; + const domains: DomainSchema[] = [ + { + host: mainDomain, + port: 8080, + serviceName: "aptabase", + }, + ]; - const envs = [ - `APTABASE_HOST=${mainDomain}`, - `AUTH_SECRET=${authSecret}` - ]; + const envs = [`APTABASE_HOST=${mainDomain}`, `AUTH_SECRET=${authSecret}`]; - return { - envs, - domains, - }; + return { + envs, + domains, + }; } diff --git a/apps/dokploy/templates/templates.ts b/apps/dokploy/templates/templates.ts index 336ab400..205a4e46 100644 --- a/apps/dokploy/templates/templates.ts +++ b/apps/dokploy/templates/templates.ts @@ -427,7 +427,8 @@ export const templates: TemplateData[] = [ id: "aptabase", name: "Aptabase", version: "v1.0.0", - description: "Aptabase is a self-hosted web analytics platform that lets you track website traffic and user behavior.", + description: + "Aptabase is a self-hosted web analytics platform that lets you track website traffic and user behavior.", logo: "aptabase.svg", links: { github: "https://github.com/aptabase/aptabase", @@ -437,5 +438,4 @@ export const templates: TemplateData[] = [ tags: ["analytics", "self-hosted"], load: () => import("./aptabase/index").then((m) => m.generate), }, - ];