Skip to content

fix(web): rename public/imagine to prevent mixed content on /imagine route#421

Merged
Movm merged 1 commit intomasterfrom
fix/imagine-mixed-content
Jan 29, 2026
Merged

fix(web): rename public/imagine to prevent mixed content on /imagine route#421
Movm merged 1 commit intomasterfrom
fix/imagine-mixed-content

Conversation

@Movm
Copy link
Copy Markdown
Collaborator

@Movm Movm commented Jan 29, 2026

Summary

  • Renamed apps/web/public/imagine/apps/web/public/imagine-assets/ to eliminate a collision between the SPA route /imagine and the static assets directory, which caused nginx to issue a mixed-content 301 redirect
  • Updated all static asset path references (/imagine/…/imagine-assets/…) across 16 source files, leaving API endpoint routes (/imagine/pure) unchanged
  • Reverted the absolute_redirect off; nginx workaround from the Dockerfile since it's no longer needed

Test plan

  • Verify https://beta.gruenerator.de/imagine loads without mixed content errors
  • Confirm preview/variant images still display correctly (now served from /imagine-assets/…)
  • Check that KI image generation (/imagine/pure endpoint) still works

…ixed content

The /imagine route collided with the public/imagine/ directory, causing
nginx to issue a 301 redirect using http:// (mixed content). Renaming
the static assets directory eliminates the collision so nginx falls
through to the SPA fallback. Also reverts the absolute_redirect off
workaround as it's no longer needed.
@Movm Movm merged commit 3d0d9e6 into master Jan 29, 2026
6 of 7 checks passed
@Movm Movm deleted the fix/imagine-mixed-content branch March 10, 2026 16: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.

1 participant