Skip to content

fix: make Reverb/Echo config runtime-injected instead of Vite build-time#22

Merged
maartenbode merged 1 commit intomainfrom
fix/runtime-reverb-config
Mar 3, 2026
Merged

fix: make Reverb/Echo config runtime-injected instead of Vite build-time#22
maartenbode merged 1 commit intomainfrom
fix/runtime-reverb-config

Conversation

@maartenbode
Copy link
Member

Summary

  • Inject Reverb config (key, port, scheme) from Laravel backend into the HTML via meta tags at runtime, instead of baking VITE_REVERB_* env vars into the JS bundle at Vite build time
  • Remove VITE_REVERB_* variables from .env.example and docs
  • Ignore auto-generated Wayfinder resources/js/actions directory in ESLint config

This makes the Docker image environment-agnostic — the same image works in any deployment without rebuilding.

@maartenbode maartenbode merged commit ef846b1 into main Mar 3, 2026
2 checks passed
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.

1 participant