For other deployments of DevHUB instances, like the infrastructure committee, the web4 handler, e.g. https://truedove38.near.page/proposal/1, should resolve to the frontend instance for Infrastructure committee and not the main DevHUB.
To solve this, hardcoded references to devhub.near should be replaced with a configurable reference, so that it is possible to configure which deployment of the frontend that should be used.
For other deployments of DevHUB instances, like the infrastructure committee, the web4 handler, e.g. https://truedove38.near.page/proposal/1, should resolve to the frontend instance for Infrastructure committee and not the main DevHUB.
To solve this, hardcoded references to
devhub.near
should be replaced with a configurable reference, so that it is possible to configure which deployment of the frontend that should be used.https://github.com/NEAR-DevHub/neardevhub-contract/blob/main/src/web4/handler.rs