refactor: remove recognize source selection and hardcode to themoviedb in setup wizard

This commit is contained in:
jxxghp
2026-04-16 19:50:37 +08:00
parent 4b3733bc19
commit 61c073ad6c
2 changed files with 1 additions and 19 deletions

View File

@@ -1129,7 +1129,7 @@ export function useSetupWizard() {
const basicSettings = {
APP_DOMAIN: wizardData.value.basic.appDomain,
API_TOKEN: wizardData.value.basic.apiToken,
RECOGNIZE_SOURCE: wizardData.value.basic.recognizeSource,
RECOGNIZE_SOURCE: 'themoviedb',
OCR_HOST: wizardData.value.basic.ocrHost,
PROXY_HOST: wizardData.value.basic.proxyHost,
GITHUB_TOKEN: wizardData.value.basic.githubToken,
@@ -1414,9 +1414,6 @@ export function useSetupWizard() {
if (result.data.PROXY_HOST) {
wizardData.value.basic.proxyHost = result.data.PROXY_HOST
}
if (result.data.RECOGNIZE_SOURCE) {
wizardData.value.basic.recognizeSource = result.data.RECOGNIZE_SOURCE
}
if (result.data.OCR_HOST) {
wizardData.value.basic.ocrHost = result.data.OCR_HOST
}