|
Hi, I would like to know what the difference is between the following two variables:
|
Replies: 3 comments 2 replies
|
Line 51 in e9ee618 The PUBLIC_INTERNAL_INSTANCE variable defines where the Photon instance is hosted, and is used when the Lemmy instance is at a different address. It's used for links in Photon, so for example when clicking a post you will be sent to the URL |
The lemmy instance is at lemmy.world and the photon instance is at photon.lemmy.world |
|
When SSR is enabled, that is the URL requests are made to by the server. Without it, it will default to PUBLIC_INSTANCE_URL |
When SSR is enabled, that is the URL requests are made to by the server. Without it, it will default to PUBLIC_INSTANCE_URL