diff --git a/frontend/src/views/preference/BasicSettings.vue b/frontend/src/views/preference/BasicSettings.vue index 0cfe344..5148eec 100644 --- a/frontend/src/views/preference/BasicSettings.vue +++ b/frontend/src/views/preference/BasicSettings.vue @@ -4,7 +4,7 @@ import {inject} from 'vue' import {IData} from '@/views/preference/typedef' const {$gettext} = useGettext() -const data: IData = inject('data')! +const data: IData = inject('data') as IData const theme = inject('theme') @@ -32,6 +32,9 @@ const theme = inject('theme')

{{ data.server.jwt_secret }}

+ +

{{ data.server.node_secret }}

+

{{ data.server.start_cmd }}

diff --git a/frontend/src/views/preference/typedef.ts b/frontend/src/views/preference/typedef.ts index 8fea395..4c58d43 100644 --- a/frontend/src/views/preference/typedef.ts +++ b/frontend/src/views/preference/typedef.ts @@ -3,6 +3,7 @@ export interface IData { http_port: string run_mode: string jwt_secret: string + node_secret: string start_cmd: string http_challenge_port: string github_proxy: string,