mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-27 12:18:59 +00:00
Merge pull request #5 from AnsoCode/hotfix/template-url
fix: update lsio template registry url to valid endpoint
This commit is contained in:
@@ -50,7 +50,7 @@ export class TemplateService {
|
||||
try {
|
||||
const settings = DatabaseService.getInstance().getGlobalSettings();
|
||||
// Default to a reliable LSIO Portainer v2 template registry if not set
|
||||
const registryUrl = settings.template_registry_url || 'https://raw.githubusercontent.com/technorabilia/portainer-templates/main/lsio/templates/templates-2.0.json';
|
||||
const registryUrl = settings.template_registry_url || 'https://raw.githubusercontent.com/technorabilia/portainer-templates/main/lsio/templates/templates.json';
|
||||
|
||||
const response = await axios.get<TemplatesResponse>(registryUrl);
|
||||
// Filter out templates without images as we are generating compose files from image, ports, etc.
|
||||
|
||||
Reference in New Issue
Block a user