Skip to content

Allow to set Inertia SSR URL via the ENV variable#172

Closed
brodienguyen wants to merge 1 commit intoinertiajs:masterfrom
brodienguyen:allow-to-set-Inertia-SSR-URL-from-the-env-variable
Closed

Allow to set Inertia SSR URL via the ENV variable#172
brodienguyen wants to merge 1 commit intoinertiajs:masterfrom
brodienguyen:allow-to-set-Inertia-SSR-URL-from-the-env-variable

Conversation

@brodienguyen
Copy link
Copy Markdown
Contributor

This PR introduces the ability to set ssr_url dynamically using an ENV variable (INERTIA_SSR_URL) with a fallback value. This change is based on recent discussions about improving flexibility in configuring the Inertia SSR URL at:

Copy link
Copy Markdown
Collaborator

@BrandonShar BrandonShar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me! The only mild pushback I'd have is that couldn't we already do this with an initializer? The convenience here is nice though.

@brodienguyen
Copy link
Copy Markdown
Contributor Author

Closing in the favor of:

@brodienguyen brodienguyen deleted the allow-to-set-Inertia-SSR-URL-from-the-env-variable branch February 19, 2025 10:15
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