mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-24 09:45:35 +08:00
feat(config): display currently selected endpoint url
This commit is contained in:
parent
0418ac4635
commit
59e0b076bf
@ -31,6 +31,7 @@ import { LANG, MODE_OPTIONS, ROUTES, themes } from '~/constants'
|
|||||||
import { locale, setLocale, useI18n } from '~/i18n'
|
import { locale, setLocale, useI18n } from '~/i18n'
|
||||||
import {
|
import {
|
||||||
autoSwitchTheme,
|
autoSwitchTheme,
|
||||||
|
endpoint,
|
||||||
favDayTheme,
|
favDayTheme,
|
||||||
favNightTheme,
|
favNightTheme,
|
||||||
setAutoSwitchTheme,
|
setAutoSwitchTheme,
|
||||||
@ -462,6 +463,7 @@ const Versions = () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<div class="flex flex-col gap-2">
|
||||||
<div class="grid grid-cols-2 gap-4">
|
<div class="grid grid-cols-2 gap-4">
|
||||||
<kbd class="kbd">{import.meta.env.version}</kbd>
|
<kbd class="kbd">{import.meta.env.version}</kbd>
|
||||||
|
|
||||||
@ -476,6 +478,9 @@ const Versions = () => {
|
|||||||
<kbd class="kbd w-full">{backendVersion()}</kbd>
|
<kbd class="kbd w-full">{backendVersion()}</kbd>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h1 class="text-center text-lg font-bold">{endpoint()?.url}</h1>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user