misc: add util page for photon instance
This commit is contained in:
1 parent
f0134dbbcf
commit
683523d32c
3 files changed
+54
-23
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<script>
|
||||
import { env } from '$env/dynamic/public'
|
||||
import Header from '$lib/components/ui/layout/pages/Header.svelte'
|
||||
import { DEFAULT_INSTANCE_URL, LINKED_INSTANCE_URL } from '$lib/instance'
|
||||
</script>
|
||||
|
||||
<Header pageHeader>Photon instance</Header>
|
||||
<pre>
|
||||
photon version: {__VERSION__}
|
||||
|
||||
linked instance: {LINKED_INSTANCE_URL ?? 'none'}
|
||||
default instance: {DEFAULT_INSTANCE_URL}
|
||||
SSR enabled: {env.PUBLIC_SSR_ENABLED ?? 'false'}
|
||||
default theme: {env.PUBLIC_THEME ?? "mr xylight's very awesome colors"}
|
||||
</pre>
|
||||
Reference in new issue
Block a user