diff --git a/Dockerfile b/Dockerfile index 21adff9bb83..a664d628574 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,11 @@ ENV PROXY_URL="" ENV OPENAI_API_KEY="" ENV CODE="" +ENV NEXT_PUBLIC_SIDEBAR_TITLE='AI助手' +ENV NEXT_PUBLIC_DOCUMENT_TITLE='有AI随行' +ENV NEXT_PUBLIC_SHOP_URL='https://shop.ez-listen.app' +ENV NEXT_PUBLIC_SHOW_VERSION='' + COPY --from=builder /app/public ./public COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static diff --git a/app/components/settings.tsx b/app/components/settings.tsx index eb83d8905f7..bc23e56aa4a 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -350,31 +350,6 @@ export function Settings() { - - {checkingUpdate ? ( - - ) : hasNewVersion ? ( - - {Locale.Settings.Update.GoToUpdate} - - ) : ( - } - text={Locale.Settings.Update.CheckUpdate} - onClick={() => checkUpdate(true)} - /> - )} - -