NEAR-DevHub / neardevhub-contract

DevHub Portal Product Contract (Hosted on NEAR Blockchain) – Includes other instances (e.g. Infrastructure, Events)
https://neardevhub.org
19 stars 15 forks source link

Web4 handler should allow redirecting to other BOS component instances than devhub.near #120

Closed petersalomonsen closed 2 months ago

petersalomonsen commented 5 months ago

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

petersalomonsen commented 2 months ago

Was solved in https://github.com/NEAR-DevHub/neardevhub-contract/pull/128