Closed ciordashertel closed 5 years ago
Yes, this happens because the DOMAIN_NAME
environment variable should not contain a protocol specification.
This case should be detected when building the URL nevertheless.
Follow up:
The logic building the URL assumes http
at the moment. This is not correct, but the backend needs a way of knowing whether http
or https
should be used. Maybe the protocol should be part of the DOMAIN_NAME
after all.
The link in the email send to the users after their submission is broken:
http://https://survey.edutec.guru/api/response/verify/659a4dfc9289a292d1a7ec2fc9baf18a <
In the backend.env the domain is set as: DOMAIN_NAME=https://survey.edutec.guru