I'm trying to build a webapp with Flareact (a Cloudflare Workers framework to use Next.js-like features) and want to embed it as a widget in a chat room. Unfortunately, when trying to add it, there is this strange error: Unexpected token < in JSON at position 0. When unticking "Check if content is embeddable", the widget is saved, but nevertheless the content cannot be displayed.
When looking in the network tab, the request to scalar.vector.im returns status code 502, but only for Flareact webpages which is kinda strange. Everything else (including "vanilla" Cloudflare Workers pages) works fine and is embeddable, as long as there are no precautions to prevent framing.
I created an additional Flareact Worker just for testing this (so I can confirm, that this is reproducable for more than just one project). Feel free to use the worker for reproduction: https://flareact.huskyiglu.workers.dev/
Description
I'm trying to build a webapp with Flareact (a Cloudflare Workers framework to use Next.js-like features) and want to embed it as a widget in a chat room. Unfortunately, when trying to add it, there is this strange error:
Unexpected token < in JSON at position 0
. When unticking "Check if content is embeddable", the widget is saved, but nevertheless the content cannot be displayed.When looking in the network tab, the request to
scalar.vector.im
returns status code 502, but only for Flareact webpages which is kinda strange. Everything else (including "vanilla" Cloudflare Workers pages) works fine and is embeddable, as long as there are no precautions to prevent framing.I created an additional Flareact Worker just for testing this (so I can confirm, that this is reproducable for more than just one project). Feel free to use the worker for reproduction:
https://flareact.huskyiglu.workers.dev/
The following steps (and only those) were used to setup the worker: https://flareact.com/docs/getting-started#installation
Steps to reproduce
https://flareact.huskyiglu.workers.dev/
)Logs being sent: yes
Version information