ijokarumawak commented on issue #211: NIFIREG-295 Add support for proxying via 
Apache Knox
URL: https://github.com/apache/nifi-registry/pull/211#issuecomment-519374032
 
 
   I may be wrong since I have only a little experience with Angular. But it 
seems the difference came from 
[nf-registry.routes](https://github.com/apache/nifi-registry/blob/8d040bc4d66c0580e6ec21666e7771e1bce5aa12/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry.routes.js#L93).
 Route `pathMatch` has two mode, `full` and `prefix`, but it doesn't support 
`suffix` type of matching. The routes doesn't work because Knox adds 
`/gateway/sandbox/nifi-registry-app/` prefix to paths.
   
   I'm going to experiment if providing a [dynamic 
APP_BASE_HREF](https://medium.com/@anandshende1994/setting-base-href-dynamically-in-angular-6-b7fe824848cf)
 can be a solution.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to