when setting
REACT_APP_WIDGETS_URL=https://widgets.bosonprotocol.io/
instead of
REACT_APP_WIDGETS_URL=https://widgets.bosonprotocol.io
the connection with widget is not working well.
Make the necessary changes in the code so that the "/" is removed at the end of the variable value, in case it exists
This has to be done with the following env vars:
- REACT_APP_WIDGETS_URL
- REACT_APP_DAPP_VIEW_MODE
- REACT_APP_DR_CENTER_VIEW_MODE
This could be done in the file 'src\lib\config.ts', when the env var values are read and copied into the CONFIG object