-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactor: remove fmtm-splitter and Update Profile Endpoints #192
Conversation
for more information, see https://pre-commit.ci
@@ -130,7 +130,7 @@ <h2>Mapping Task Details</h2> | |||
<p><strong>Project:</strong>{{project_name}}</p> | |||
<p><strong>Description:</strong> {{description}}</p> | |||
</div> | |||
<a href="dronetm.naxa.com.np" class="task-button" | |||
<a href="https://dronetm.org/" class="task-button" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should take a base url from env.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should take a base url from env.
@nrjadkry Good point! I've updated the code to load the base URL from the environment variables.
src/backend/app/config.py
Outdated
@@ -80,6 +80,7 @@ def assemble_db_connection(cls, v: Optional[str], info: ValidationInfo) -> Any: | |||
) | |||
return pg_url | |||
|
|||
SITE_URL: str = "http://localhost:3040" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to name it FRONTEND_URL ?
Description:
fmtm-splitter
: Eliminated thefmtm-splitter
dependency; the project now uses a separateTaskSplitter
algorithm for area splitting.FRONTEND_URL
from environment files and set a dynamic URL for click button.