Skip to content

Conversation

@MarioCadenas
Copy link
Collaborator

@MarioCadenas MarioCadenas commented Dec 19, 2025

This provides a centralized way of injecting configuration for the frontend, and also adding a way for accessing the endpoints provided by the backend.

An object __CONFIG__ is injected in window with a few properties that are useful for the frontend.

image

Following this PR I will open another one that also provides typed access to this object

@MarioCadenas MarioCadenas requested review from a team, ditadi and pkosiec December 19, 2025 10:19
Copy link
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

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

LGTM

@MarioCadenas MarioCadenas merged commit 2e792d2 into main Dec 19, 2025
4 checks passed
@MarioCadenas MarioCadenas deleted the window-client-config branch December 19, 2025 10:38
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.

3 participants