File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ export const INTERMEDIATE_FHIR_SERVER_BASE = ( window.globalConfig?.VITE_INTERME
7
7
8
8
export const FHIR_R4_EXTERNAL_ID_SYSTEM = ( window . globalConfig ?. VITE_FHIR_R4_EXTERNAL_ID_SYSTEM ?? import . meta. env . VITE_FHIR_R4_EXTERNAL_ID_SYSTEM ) ;
9
9
10
+ export const BACK_URL = ( window . globalConfig ?. VITE_BACK_URL ?? import . meta. env . VITE_BACK_URL ) ;
11
+
10
12
export const SOF_RESOURCES = [
11
13
'Patient' ,
12
14
'AllergyIntolerance' ,
Original file line number Diff line number Diff line change 18
18
} from ' sveltestrap' ;
19
19
import { SHLClient , type SHLAdminParams } from ' $lib/managementClient' ;
20
20
import { SOFClient } from ' $lib/sofClient' ;
21
- import { SOF_HOSTS } from ' $lib/config' ;
21
+ import { SOF_HOSTS , BACK_URL } from ' $lib/config' ;
22
22
let shlStore = writable <SHLAdminParams >(undefined );
23
23
setContext (' shlStore' , shlStore );
24
24
51
51
<Navbar class =" navbar d-none d-sm-block" expand =" sm" style =" background: #325c33; border-bottom: 1px solid rgb(204, 204, 204); margin-bottom: 10px" >
52
52
<Nav navbar pills >
53
53
<NavItem >
54
- <NavLink active style ="background-color:white" class ="text-black" href ="https://inform.dev.cirg.uw.edu/" on:click ={closeNav }><Icon name =" arrow-left" /> Back</NavLink >
54
+ <NavLink active style ="background-color:white" class ="text-black" href ={ BACK_URL } on:click ={closeNav }><Icon name =" arrow-left" /> Back</NavLink >
55
55
</NavItem >
56
56
</Nav >
57
57
<NavbarBrand class =" mx-auto" >
71
71
<Collapse {isOpen } navbar expand ="sm" on:update ={handleUpdate }>
72
72
<Nav class =" ms-auto" navbar >
73
73
<NavItem >
74
- <NavLink class ="text-white" href ="https://inform.dev.cirg.uw.edu/" on:click ={closeNav }><Icon name =" arrow-left" /> Back</NavLink >
74
+ <NavLink class ="text-white" href ={ BACK_URL } on:click ={closeNav }><Icon name =" arrow-left" /> Back</NavLink >
75
75
</NavItem >
76
76
<NavItem >
77
77
<NavLink class ="text-white" href ="https://letstalktech.uw.edu/help" on:click ={closeNav }>Log Out</NavLink >
Original file line number Diff line number Diff line change @@ -7,5 +7,6 @@ window.globalConfig = {
7
7
// VITE_INTERMEDIATE_FHIR_SERVER_BASE: "",
8
8
// VITE_SOF_CLIENT_ID: "",
9
9
// VITE_SOF_ISS: "",
10
+ // VITE_BACK_URL: "",
10
11
// DEV_SERVER_PORT: "",
11
12
}
You can’t perform that action at this time.
0 commit comments