Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TM_ORG_URL should include http:// or https:// #6165

Open
frafra opened this issue Dec 14, 2023 · 0 comments
Open

TM_ORG_URL should include http:// or https:// #6165

frafra opened this issue Dec 14, 2023 · 0 comments
Labels
deployment Release deployment or hotfixes dev-setup 🛠️ scope: documentation Any issue that relates to documentation edits, updates, improvements scope: frontend

Comments

@frafra
Copy link
Contributor

frafra commented Dec 14, 2023

I updated the tasking manager on a server, and I found it was generating a broken link in the header.

This is because the example.env specifies that TM_ORG_URL and TM_ORG_PRIVACY_POLICY_URL should not include the protocol:

# Don't use http or https on the following two variables
TM_ORG_URL=example.com
TM_ORG_PRIVACY_POLICY_URL=https://www.hotosm.org/privacy

This is not correct, since the frontend does not add the protocol:

<a className="link red f6 mr2" href={`${ORG_URL}`} target="_blank" rel="noreferrer">

This is because of a change that has not been reflected in the example file:

74d130d#diff-7918370b89a458b03dac0ed4fdce697153cd37e684b6fa52a2532f7c7e50195e

@ramyaragupathy ramyaragupathy added dev-setup 🛠️ scope: documentation Any issue that relates to documentation edits, updates, improvements deployment Release deployment or hotfixes labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Release deployment or hotfixes dev-setup 🛠️ scope: documentation Any issue that relates to documentation edits, updates, improvements scope: frontend
Projects
None yet
Development

No branches or pull requests

3 participants