Skip to content

Commit

Permalink
feat: Add url for AutoACMG (#252) (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
gromdimon authored Sep 18, 2024
1 parent 74df3b9 commit 9a7538a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/lib/urlConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
export interface UrlConfig {
/** Base URL to the annonars backend. */
baseUrlAnnonars?: string
/** Base URL to the autoACMG backend. */
baseUrlAutoACMG?: string
/** Base URL to the mehari backend. */
baseUrlMehari?: string
/** Base URL to the viguno backend. */
Expand Down Expand Up @@ -38,6 +40,7 @@ export const urlConfig: UrlConfig = {}
*/
export const setupUrlConfigForTesting = () => {
urlConfig.baseUrlAnnonars = '/internal/proxy/annonars'
urlConfig.baseUrlAutoACMG = '/internal/proxy/autoacmg'
urlConfig.baseUrlMehari = '/internal/proxy/mehari'
urlConfig.baseUrlViguno = '/internal/proxy/viguno'
urlConfig.baseUrlCadaPrio = '/internal/proxy/cada-prio'
Expand All @@ -52,6 +55,7 @@ export const setupUrlConfigForTesting = () => {
*/
export const resetUrlConfig = () => {
urlConfig.baseUrlAnnonars = undefined
urlConfig.baseUrlAutoACMG = undefined
urlConfig.baseUrlMehari = undefined
urlConfig.baseUrlViguno = undefined
urlConfig.baseUrlCadaPrio = undefined
Expand Down

0 comments on commit 9a7538a

Please sign in to comment.