TYPO3-Headless / headless

TYPO3 Headless JSON API providing content for PWA application (e.g. javaScript apps like nuxt-typo3)
https://t3headless.io
GNU General Public License v2.0
159 stars 60 forks source link

Preview Mode not working anymore #664

Closed KrohnMi closed 11 months ago

KrohnMi commented 12 months ago

Describe the bug With the introduction of the new mixed headless mode, the preview function no longer works correctly. I migrated the Siteconfig and set 'headless' to 1 everywhere. After a bit of research, it seems that 'headless' is apparently not being set in the request object.

To Reproduce Steps to reproduce the behavior:

  1. Update to the new headless variant.
  2. Set a frontend URL in Siteconfig.
  3. Push the Preview Button.

Expected behavior The link should be the same as in the Siteconfig's defined.

TYPO3 version and TYPO3 Headless version Typo3 v12 TYPO3 Headless 4.2.2

Additional context I use nginx.