Skip to content

Commit a31ff57

Browse files
committed
Update to fix URL issue.
1 parent 4829cf4 commit a31ff57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib_components/components/NeonEnvironment/NeonEnvironment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ const NeonEnvironment: INeonEnvironment = {
192192
getAuth0: () => '/consumer/topic/auth0',
193193
},
194194

195-
getDataProductTaxonTypesPath: (): string => `${NeonEnvironment.getFullApiPath('taxonomy')}/types`,
196-
getTaxonTypeDataProductsPath: (): string => `${NeonEnvironment.getFullApiPath('taxonomy')}/products`,
195+
getDataProductTaxonTypesPath: (): string => `${NeonEnvironment.getApiHost()}/${NeonEnvironment.getApiPath.taxonomy()}/types`,
196+
getTaxonTypeDataProductsPath: (): string => `${NeonEnvironment.getApiHost()}/${NeonEnvironment.getApiPath.taxonomy()}/products`,
197197

198198
getVisusProductsBaseUrl: (): Undef<string> => process.env.REACT_APP_NEON_VISUS_PRODUCTS_BASE_URL,
199199
getVisusIframeBaseUrl: (): Undef<string> => process.env.REACT_APP_NEON_VISUS_IFRAME_BASE_URL,

0 commit comments

Comments
 (0)