on master help sign in
fix hostedShipUrl
commit494db95b13efdf17f8649ce200a7e8d0760de7ff authorLiam Fitzgerald <liam@urizen.co> dateWed 18 Mar 2020, 10:36 (7 years ago) parentd575aa0
1 file changed+2−3
src/store/lib/useHostingStore.js+2−3
src/store/lib/useHostingStore.js+2−3
@@ -170,9 +170,8 @@ function useHostingStore(url, domain, disabled) {
170170 ]);
171171
172172 const hostedShipUrl = useMemo(
173− () =>
174− `http://${ob.patp(pointCursor.getOrElse('')).slice(1)}.liam.tlon.network`,
175− [pointCursor]
173+ () => `http://${ob.patp(pointCursor.getOrElse('')).slice(1)}.${domain}`,
174+ [pointCursor, domain]
176175 );
177176
178177 const create = useCallback(