feat: improve posts translation logic (#1211)

This commit is contained in:
Alex 2023-01-16 17:55:00 +08:00 committed by GitHub
parent 3b73d11fd3
commit d745bd0583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 78 additions and 23 deletions

View file

@ -92,6 +92,7 @@ export default defineNuxtConfig({
env: '', // set in build-env module
buildInfo: {} as BuildInfo, // set in build-env module
pwaEnabled: !isDevelopment || process.env.VITE_DEV_PWA === 'true',
// We use LibreTranslate(https://github.com/LibreTranslate/LibreTranslate) as our default translation server #76
translateApi: '',
defaultServer: 'mas.to',
},