kuma-counter-demo icon indicating copy to clipboard operation
kuma-counter-demo copied to clipboard

make app x-forwarded-prefix aware

Open dennyh89 opened this issue 5 months ago • 0 comments

I wanted to deploy the app in a multizone mesh and behind a delegated gateway that uses path-based routing with strip_path, which leads to issues that the frontend is trying to call "/increment" without the prefix attached.

I have no experience in nodejs so i am open to discuss the changes, rework the contribution or just even learn how this could have been achieved more easily.

this commit adds the prefix to each link in the index.htlm and uses ejs to accomplish that.

Did you sign your commit? Instructions YES

Have you read Contributing guidelines? YES

dennyh89 avatar Sep 17 '24 21:09 dennyh89