From ae0d8b62d0e7881097e5bf8f4be5140d13cbf779 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 3 Mar 2026 12:34:42 +0100 Subject: [PATCH 1/2] homepage: update datasource to the new cached endpoint for demo charts --- app/domain/data-source/constants.ts | 2 +- app/homepage/constants.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/domain/data-source/constants.ts b/app/domain/data-source/constants.ts index 49f106f8a3..ebbf9c73d6 100644 --- a/app/domain/data-source/constants.ts +++ b/app/domain/data-source/constants.ts @@ -40,7 +40,7 @@ export const SOURCE_OPTIONS: SourceOption[] = [ key: "LINDASnext-Prod", label: "LINDASnext PROD", url: "https://cached.lindas.admin.ch/query", - isTrusted: false, + isTrusted: true, // To not show warnings on the home page supportsCachingPerCubeIri: true, }, { diff --git a/app/homepage/constants.ts b/app/homepage/constants.ts index 8e32d50dfa..d47bb247d0 100644 --- a/app/homepage/constants.ts +++ b/app/homepage/constants.ts @@ -6,7 +6,7 @@ export const getExampleState1 = async () => { dataSet: "https://environment.ld.admin.ch/foen/ubd003701/2", dataSource: { type: "sparql", - url: "https://lindas-cached.cluster.ldbar.ch/query", + url: "https://cached.lindas.admin.ch/query", }, meta: { title: { @@ -105,7 +105,7 @@ export const getExampleState2 = async () => { dataSet: "https://culture.ld.admin.ch/sfa/StateAccounts_Office/4/", dataSource: { type: "sparql", - url: "https://lindas-cached.cluster.ldbar.ch/query", + url: "https://cached.lindas.admin.ch/query", }, meta: { title: { From 2cbdeb1258f8fa3247fc7737d4e5ca4a4d8736e9 Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 3 Mar 2026 13:42:21 +0100 Subject: [PATCH 2/2] chore: remove comment --- app/domain/data-source/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/domain/data-source/constants.ts b/app/domain/data-source/constants.ts index ebbf9c73d6..018bddbd3f 100644 --- a/app/domain/data-source/constants.ts +++ b/app/domain/data-source/constants.ts @@ -40,7 +40,7 @@ export const SOURCE_OPTIONS: SourceOption[] = [ key: "LINDASnext-Prod", label: "LINDASnext PROD", url: "https://cached.lindas.admin.ch/query", - isTrusted: true, // To not show warnings on the home page + isTrusted: true, supportsCachingPerCubeIri: true, }, {