bottech [he/him] to hexbear • 4 years agoHow to have my local connect frontend connect to something?message-squaremessage-square36 fedilinkarrow-up19
arrow-up19message-squareHow to have my local connect frontend connect to something?bottech [he/him] to hexbear • 4 years agomessage-square36 Commentsfedilink
minus-squarebottech [he/him]hexagonhexbear1·4 years agoCould you show me how should i modify env.ts to make it connect with the dev site? link
minus-squareRyaina [she/her]Mhexbear2·4 years agosimply change the three constants that are exported host, port, and wsUri to point to the desired URL link
minus-squareRyaina [she/her]Mhexbear2·4 years agoah, you may also need to edit the hostname function.... https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1093 link
minus-squareRyaina [she/her]Mhexbear1·4 years agoActualy, sorry the API definition https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1241 link
minus-squarebottech [he/him]hexagonhexbear1·4 years agoI dont know exactly how to do that, could you just send me how exactly the files should look? link
Could you show me how should i modify
env.ts
to make it connect with the dev site?simply change the three constants that are exported
host
,port
, andwsUri
to point to the desired URLonly
wsuri
is exported thoughah, you may also need to edit
the
hostname
function....https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1093
Actualy, sorry
the API definition
https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1241
I dont know exactly how to do that, could you just send me how exactly the files should look?