It would be great if capacitor supported running on /some/path instead of assuming it has /. Whilst i understand this could be achieved by using a reverse-proxy such as nginx to map /some/path back to /, i'd still like the option of configuring things such that i can use different ingress-controllers (namely the AWS LB Controller which spins up an ALB which has no support for remapping URL')
I can see that this should be possible with the addition of:
"homepage": "." within package.json to make the static assets support relative subpaths
use r.Mount("path-from-env-var", method) - essentially we can either extend all paths with an env-var, or create a router on a path to then mount a secondary router such that everything can be configured to run on a path
It would be great if capacitor supported running on
/some/path
instead of assuming it has/
. Whilst i understand this could be achieved by using a reverse-proxy such asnginx
to map/some/path
back to/
, i'd still like the option of configuring things such that i can use different ingress-controllers (namely the AWS LB Controller which spins up an ALB which has no support for remapping URL')I can see that this should be possible with the addition of:
"homepage": "."
withinpackage.json
to make the static assets support relative subpathsr.Mount("path-from-env-var", method)
- essentially we can either extend all paths with an env-var, or create a router on a path to then mount a secondary router such that everything can be configured to run on a path