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 {
|
||||
autoSwitchTheme,
|
||||
endpoint,
|
||||
favDayTheme,
|
||||
favNightTheme,
|
||||
setAutoSwitchTheme,
|
||||
@ -462,6 +463,7 @@ const Versions = () => {
|
||||
})
|
||||
|
||||
return (
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="grid grid-cols-2 gap-4">
|
||||
<kbd class="kbd">{import.meta.env.version}</kbd>
|
||||
|
||||
@ -476,6 +478,9 @@ const Versions = () => {
|
||||
<kbd class="kbd w-full">{backendVersion()}</kbd>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 class="text-center text-lg font-bold">{endpoint()?.url}</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user