mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-07-07 07:11:33 +08:00
feat: |Worker| add var DEFAULT_LANG, zh/en (#585)
This commit is contained in:
@@ -8,6 +8,7 @@ import { isS3Enabled } from '../mails_api/s3_attachment';
|
||||
export default {
|
||||
getConfig: async (c: Context<HonoCustomType>) => {
|
||||
return c.json({
|
||||
"DEFAULT_LANG": c.env.DEFAULT_LANG,
|
||||
"TITLE": c.env.TITLE,
|
||||
"HAS_PASSWORD": getPasswords(c).length,
|
||||
"HAS_ADMIN_PASSWORDS": getAdminPasswords(c).length,
|
||||
|
||||
Reference in New Issue
Block a user