diff --git a/netlify.toml b/netlify.toml index 4ab805434f5..3680c61645f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -9,7 +9,7 @@ NODE_OPTIONS = "--max_old_space_size=4096" [[redirects]] from = "/api/*" -to = "https://careapi.ohc.network/api/:splat" +to = "https://8k-work.khavinshankar.dev/api/:splat" status = 200 force = true diff --git a/public/config.json b/public/config.json index dd35eee6420..88ad2cdf5c8 100644 --- a/public/config.json +++ b/public/config.json @@ -22,7 +22,7 @@ "sample_format_asset_import": "/asset-import-template.xlsx", "sample_format_external_result_import": "/External-Results-Template.csv", "enable_abdm": true, - "enable_hcx": false, + "enable_hcx": true, "enable_scribe": false, "min_encounter_date": "2020-01-01" } \ No newline at end of file diff --git a/src/Routers/AppRouter.tsx b/src/Routers/AppRouter.tsx index bba3bd04899..422dfe6804f 100644 --- a/src/Routers/AppRouter.tsx +++ b/src/Routers/AppRouter.tsx @@ -64,7 +64,7 @@ export default function AppRouter() { let routes = Routes; if (enable_hcx) { - routes = { ...routes, ...HCXRoutes }; + routes = { ...HCXRoutes, ...routes }; } if (