Skip to content

Commit ae0d8b6

Browse files
committed
homepage: update datasource to the new cached endpoint for demo charts
1 parent 1198e14 commit ae0d8b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/domain/data-source/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const SOURCE_OPTIONS: SourceOption[] = [
4040
key: "LINDASnext-Prod",
4141
label: "LINDASnext PROD",
4242
url: "https://cached.lindas.admin.ch/query",
43-
isTrusted: false,
43+
isTrusted: true, // To not show warnings on the home page
4444
supportsCachingPerCubeIri: true,
4545
},
4646
{

app/homepage/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const getExampleState1 = async () => {
66
dataSet: "https://environment.ld.admin.ch/foen/ubd003701/2",
77
dataSource: {
88
type: "sparql",
9-
url: "https://lindas-cached.cluster.ldbar.ch/query",
9+
url: "https://cached.lindas.admin.ch/query",
1010
},
1111
meta: {
1212
title: {
@@ -105,7 +105,7 @@ export const getExampleState2 = async () => {
105105
dataSet: "https://culture.ld.admin.ch/sfa/StateAccounts_Office/4/",
106106
dataSource: {
107107
type: "sparql",
108-
url: "https://lindas-cached.cluster.ldbar.ch/query",
108+
url: "https://cached.lindas.admin.ch/query",
109109
},
110110
meta: {
111111
title: {

0 commit comments

Comments
 (0)