Skip to content

Commit

Permalink
update: update the ux url #29
Browse files Browse the repository at this point in the history
  • Loading branch information
MeetAnithaVarghese committed Oct 11, 2024
1 parent 45a68fe commit 715ed66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4,319 deletions.
7 changes: 3 additions & 4 deletions lib/service/diabetes-research-hub/drhctl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ const toolCmd = isWindows ? ".\\surveilr" : "surveilr";
const dbFilePath = "resource-surveillance.sqlite.db"; // Path to your SQLite DB

//const RSC_BASE_URL = "https://raw.githubusercontent.com/surveilr/www.surveilr.com/main/lib/service/diabetes-research-hub";
const RSC_BASE_URL = "https://raw.githubusercontent.com/surveilr/www.surveilr.com/ani/feat/ui-parity/lib/service/diabetes-research-hub";

//const UX_URL ="https://www.surveilr.com/lib/service/diabetes-research-hub"
const UX_URL ="http://localhost:4321/lib/service/diabetes-research-hub"
const UX_URL ="https://www.surveilr.com/lib/service/diabetes-research-hub"
//const UX_URL ="http://localhost:4321/lib/service/diabetes-research-hub"

// Helper function to fetch SQL content
async function fetchSqlContent(url: string): Promise<string> {
Expand Down Expand Up @@ -154,7 +153,7 @@ try {
`${RSC_BASE_URL}/verfication-validation/orchestrate-drh-vv.sql`,
);
uxSQL = await fetchSqlContent(
`${RSC_BASE_URL}/package.sql`,
`${UX_URL}/package.sql`,
);
//uxSQL = await fetchUxSqlContent(); // Fetch UX SQL content
} catch (error) {
Expand Down
Loading

0 comments on commit 715ed66

Please sign in to comment.