Skip to content

Commit d58a226

Browse files
use-app-theme.ts
1 parent 230a025 commit d58a226

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/app/clientApp/App/AppRest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,8 @@ export const getParentAppWellKnownConfiguration = (wellKnowConfigUrl: string) =>
6262
useToken: false,
6363
cancelRequestDeadlineTimeout: 10000,
6464
})
65+
66+
export const getTheme = (url: string) =>
67+
fetchApi(`${url}/theme/theme.json`, {
68+
useToken: false,
69+
})

0 commit comments

Comments
 (0)