Skip to content
Discussion options

You must be logged in to vote

Hi @nickw1,

I checked out the Lilt site and when I select a module, the RSC request on navigation includes: :HL["https://localhost:3002/assets/layout-CiEbUtZs.css","style"]. This is the RSC request in network tab for https://lilt.hikar.org/rsc.x-component?module=DSA.

How do you host the app in production?
When using a proxy, you need to use the --trust-proxy option for the CLI start command to be able to use X-Forwarded-* headers. You can also try to specify the origin either using the --origin "lilt.hikar.org" CLI option or the ORIGIN="lilt.hikar.org" environment variable.

You need to see the public hostname or relative URL in the RSC response instead of localhost:3002 and that should re…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nickw1
Comment options

Answer selected by nickw1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants