From 2fa691c5bd3168e5d6d72652a08c8c7345e57d4d Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 10 Mar 2025 01:06:31 -0600 Subject: [PATCH] chore(templates): update template source URL to official domain - Change base URL for template fetching from GitHub Pages to official templates domain - Update both `fetchTemplatesList` and `fetchTemplateFiles` functions - Ensure consistent template source URL across template-related functions --- packages/server/src/templates/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/templates/github.ts b/packages/server/src/templates/github.ts index b5c14fbb..bdb785ed 100644 --- a/packages/server/src/templates/github.ts +++ b/packages/server/src/templates/github.ts @@ -53,7 +53,7 @@ interface TemplateMetadata { * Fetches the list of available templates from meta.json */ export async function fetchTemplatesList( - baseUrl = "https://dokploy.github.io/templates", + baseUrl = "https://templates.dokploy.com", ): Promise { try { const response = await fetch(`${baseUrl}/meta.json`); @@ -81,7 +81,7 @@ export async function fetchTemplatesList( */ export async function fetchTemplateFiles( templateId: string, - baseUrl = "https://dokploy.github.io/templates", + baseUrl = "https://templates.dokploy.com", ): Promise<{ config: CompleteTemplate; dockerCompose: string }> { try { // Fetch both files in parallel