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

🛅 fix: Login/Registration Dynamic page titles based on APP_TITLE #2807

Closed
wants to merge 1 commit into from

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented May 20, 2024

Related to #2702

Updates the website title on the Login and Registration pages to match the APP_TITLE from .env configuration.

  • Adds a useEffect hook in both Login.tsx and Registration.tsx components to dynamically set the document title to the appTitle obtained from startupConfig. This ensures that the website title on these pages reflects the current APP_TITLE setting from .env.
  • Utilizes a fallback title 'LibreChat' in case appTitle is not available in the startupConfig, maintaining a default behavior.

For more details, open the Copilot Workspace session.

@danny-avila danny-avila linked an issue May 20, 2024 that may be closed by this pull request
1 task
@danny-avila danny-avila changed the title fix: Login/Registration Dynamic page titles based on APP_TITLE 🛅 fix: Login/Registration Dynamic page titles based on APP_TITLE May 20, 2024
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.

[Bug]: App_TITLE is not applied at the Login Screen
1 participant