[bug]: Invitiation email appending http:// to https:// url
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
When I invite new users to my plane instance the invitation url is malformed.
http://https//plane.example.com/workspace-member-invitation/[email protected]
Steps to reproduce
curl https://raw.githubusercontent.com/makeplane/plane/develop/docker-compose-hub.yml --output docker-compose.yml
curl https://raw.githubusercontent.com/makeplane/plane/develop/setup.sh --output setup.sh
chmod +x setup.sh
./setup.sh https://plane.example.com
set -a
source .env
set +a
docker compose up -d
Browser
Mozilla Firefox
Version
Self-hosted
H, @coltondick! I would like to work on this!
From the example url it seems : is missing in the original url schema:
http://https//plane.example.com/workspace-…
^^
From the example url it seems
:is missing in the original url schema:http://https//plane.example.com/workspace-… ^^
Here is the excerpt from my .env:
# Auto generated and Required that will be generated from setup.sh
NEXT_PUBLIC_API_BASE_URL=https://plane.example.com
SECRET_KEY="secret"
WEB_URL=https://plane.example.com
The documentation doesn't highlight any other method of setting the base URL.
Note: This is working as expected when using the non-hub version of docker-compose.yml
docker-compose -f docker-compose.yml up --build -d
Same issue with http. ':' is missing. URL in email is http//plane.example.com
Hello @coltondick! We're glad to inform you that the issue you reported has been resolved in the latest Docker setup update. If you encounter any further difficulties or if the problem persists, please don't hesitate to reopen the issue.