Skip to content

Clean up environment variable usage and constants#29

Merged
BenHall-1 merged 1 commit intoTicketsBot-cloud:masterfrom
biast12:cleanup-env
Jul 18, 2025
Merged

Clean up environment variable usage and constants#29
BenHall-1 merged 1 commit intoTicketsBot-cloud:masterfrom
biast12:cleanup-env

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Jul 10, 2025

TLDR: This PR removes unused env vars and orders them in the same order across the env/config files

This pull request makes adjustments to environment variables and their usage across the codebase, primarily focusing on the DOCS_URL and removing unused variables like IMPORT_URL and PLACEHOLDER_DOCS_URL. These changes aim to streamline the configuration and eliminate redundancy.

Environment Variable Adjustments:

  • envvars.md: Reordered the list of environment variables, moving DOCS_URL to a new position and adding INVITE_URL.

  • frontend/rollup.config.js: Adjusted the order of environment variables in the export default configuration object, ensuring DOCS_URL is correctly positioned and removing redundant entries for DOCS_URL and INVITE_URL.

Removal of Unused Variables:

  • frontend/src/js/constants.js: Removed the unused variables IMPORT_URL and PLACEHOLDER_DOCS_URL from the constants file to clean up the code.

Reorders and deduplicates environment variables in rollup.config.js and envvars.md for clarity. Removes unused IMPORT_URL and PLACEHOLDER_DOCS_URL constants.
@BenHall-1 BenHall-1 merged commit 0be6324 into TicketsBot-cloud:master Jul 18, 2025
@biast12 biast12 deleted the cleanup-env branch July 18, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants