• bottech [he/him]
    hexagon
    ·
    4 years ago

    Could you show me how should i modify env.ts to make it connect with the dev site?

    • Ryaina [she/her]M
      ·
      4 years ago

      simply change the three constants that are exported host, port, and wsUri to point to the desired URL

        • Ryaina [she/her]M
          ·
          4 years ago

          ah, you may also need to edit

          the hostname function....

          https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1093

          • Ryaina [she/her]M
            ·
            4 years ago

            Actualy, sorry

            the API definition

            https://git.chapo.chat/hexbear-collective/hexbear-frontend/src/branch/main/src/utils.ts#L1241

          • bottech [he/him]
            hexagon
            ·
            4 years ago

            I dont know exactly how to do that, could you just send me how exactly the files should look?