this post was submitted on 05 Nov 2023
2 points (100.0% liked)
Photon
263 readers
44 users here now
The community for the Photon Lemmy client.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The server and the client render differently.
If SSR is enabled, the initial page load will be loaded by the server then sent to the client. Then, the client router will take over and load pages itself after that.
PUBLIC_INSTANCE_URL is the instance URL for photon to use. Sometimes, you might want the server to use something like localhost, so you can make the server have a different instance URL than the client.