Skip to content

Commit

Permalink
Fix viewer url logic
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Nov 7, 2024
1 parent 4ead836 commit f5ca731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const SOF_PATIENT_RESOURCES = [
];

export const VIEWER_BASE = new URL(
(import.meta.env.VITE_VIEWER_BASE ? import.meta.env.VITE_VIEWER_BASE : `/ips${dev ? '/index.html' : ''}`)+'#',
(import.meta.env.VITE_VIEWER_BASE ? import.meta.env.VITE_VIEWER_BASE : `/ips`)+'#',
window.location.href
).toString();
export const SHOW_VIEWER_DEMO = import.meta.env.VITE_SHOW_VIEWER_DEMO;
Expand Down

0 comments on commit f5ca731

Please sign in to comment.