Hello, community.
I am developing a hono application using the idx.dev IDE.
Currently, in the preview environment, I have implemented a process that includes the value of redirect_url
as a query parameter in the Location header of the response.
Specifically, it looks like Location: https://example.com/xxx?redirect_url=http://127.0.0.1:9002/xxx
.
However, while the application processes it as 127.0.0.1:9002
, it is actually output to the response header as 9002-xxx.xxx.cloudworkstations.dev
.
This is different from the actual domain of the preview environment (9000-xxx.xxx.cloudworkstations.dev
), and I find it puzzling why this happens.
Is anyone else experiencing this issue?