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

[2.x] Allow environment config for ssr.enabled, ssr.url, and history.encrypt #714

Merged
merged 2 commits into from
Apr 10, 2025

Conversation

bram-pkg
Copy link
Contributor

It is great to be able to configure commonly changed settings through environment variables, as recommended by the 12 factor app guidelines: https://12factor.net/config.

In recent times the amount of Laravel config values exposed through environment variables has also increased by a lot.

It only makes sense to also allow for this same practice with Inertia.

@bram-pkg bram-pkg changed the title Allow environment configuration for ssr.enabled and ssr.url Allow environment configuration for ssr.enabled and ssr.url Feb 11, 2025
@bram-pkg bram-pkg changed the title Allow environment configuration for ssr.enabled and ssr.url Allow environment config for ssr.enabled and ssr.url Feb 11, 2025
@bram-pkg bram-pkg changed the title Allow environment config for ssr.enabled and ssr.url [2.x] Allow environment config for ssr.enabled and ssr.url Feb 11, 2025
@joetannenbaum
Copy link
Contributor

joetannenbaum commented Apr 10, 2025

Looks good, added INERTIA_ENCRYPT_HISTORY in there as well. Thanks!

@joetannenbaum joetannenbaum changed the title [2.x] Allow environment config for ssr.enabled and ssr.url [2.x] Allow environment config for ssr.enabled, ssr.url, and history.encrypt Apr 10, 2025
@joetannenbaum joetannenbaum merged commit f33ba45 into inertiajs:2.x Apr 10, 2025
18 checks passed
@bram-pkg bram-pkg deleted the patch-3 branch April 10, 2025 17:23
@bram-pkg
Copy link
Contributor Author

Thanks Joe!

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