Skip to content

Commit 13c3796

Browse files
authored
feat: Change url to be used for making the Statbank url list
Change url to be used for making the url list
1 parent 367457e commit 13c3796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/site/parts/statbankSubjectTree/statbankSubjectTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function getStatbankSubjectTree(req: Request, content: Content) {
5454
})
5555
const baseUrl: string = app.config && app.config['ssb.baseUrl'] ? app.config['ssb.baseUrl'] : 'https://www.ssb.no'
5656
const statbankBaseUrl: string =
57-
content.language && content.language === 'en' ? baseUrl + '/en/statbank/list/' : baseUrl + '/statbank/list/'
57+
content.language && content.language === 'en' ? baseUrl + '/en/statbank1/list/' : baseUrl + '/statbank1/list/'
5858
const props: StatbankSubjectTreeProps = {
5959
statbankBaseUrl,
6060
mainSubjects,

0 commit comments

Comments
 (0)