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 UV iframe embed scenario #417

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Fix UV iframe embed scenario #417

merged 2 commits into from
Nov 25, 2024

Conversation

swandog30
Copy link
Collaborator

No description provided.

DanOlson and others added 2 commits November 24, 2024 21:41
When we migrated UV to the CDN, we stopped serving UV assets from
/public, which ended up breaking the iframe use case. This revives
it by routing to a controller and rendering a view template. We're
using a route & view rather than a static file in /public because
we want to initialize UV with the same config options in both places
which we can do with a partial. Additionally, if we were to serve
the config as a url via a query parameter on the iframe src, UV ends
up loading the attribution pop up before the config loads, which is
not the exerience we want.
@swandog30 swandog30 merged commit 69c588f into main Nov 25, 2024
1 check 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.

2 participants