Adding relative path to microfe crud service #560
-
What product are you having troubles with?Console What Console version are you using?1.102.8 DescriptionWe would like to be able to use relative path for the bk-crud-client component. We are trying to do Internal: Our public facing route goes through an api manager so the prefix is needed. We are able to use relative pathing in all areas except the components. Button with type http and the bk-crud-client. Is there a way to use relative path for the components without having to make a custom component? Actual OutcomeNo response Expected OutcomeNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @rmuller-vu , sorry for the late reply. URLs in back-kit components are computed relative to the page's origin (i.e., Possible solutions that come to my mind are:
Let me know if you need further clarification |
Beta Was this translation helpful? Give feedback.
Hi @rmuller-vu , sorry for the late reply.
URLs in back-kit components are computed relative to the page's origin (i.e.,
new URL(path, window.location.origin)
) so they cannot consider any prefix.Possible solutions that come to my mind are:
public-host/v2/version-approvals
topublic-host/prefix/v2/version-approvals
Let me know if you need further clarification