feat: Add instance changing

This commit is contained in:
Xyphyn committed 2023-07-02 14:27:04 -07:00
1 parent f201123291
commit 3159583654
17 files changed
+142 -35

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { instance_url } from '$lib/lemmy.js'
export function load({ cookies, locals }) {
return {
instance_url: cookies.get('instance_url') || instance_url,
}
}