mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
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
This commit is contained in:
@@ -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<TemplateMetadata[]> {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user