fix: add .env file
This commit is contained in:
1 parent
9313ff769d
commit
7bc6a8072b
5 files changed
+10
-23
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ docs/
|
||||
venv/
|
||||
backend/venv/
|
||||
env/
|
||||
.env
|
||||
# .env
|
||||
.venv
|
||||
build/
|
||||
develop-eggs/
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
INTEGRATION_API_BASE=http://192.168.100.230:8891
|
||||
INTEGRATION_API_KEY=I76mSQZQEPYU6TubMhjh-xLsCgWC0gSIg5MncJFHFCvqvVlg-gZ_BvwO_UEL2nh
|
||||
@@ -53,7 +53,8 @@ class DevelopmentConfig(Config):
|
||||
DEBUG = True
|
||||
SQLALCHEMY_DATABASE_URI = os.getenv(
|
||||
'DATABASE_URL',
|
||||
'postgresql://postgres:123456@8.152.207.171:5432/hxops_db',
|
||||
# 'postgresql://postgres:123456@8.152.207.171:5432/hxops_db',
|
||||
'postgresql://postgres:difyai123456@localhost:5432/hxops_db',
|
||||
)
|
||||
|
||||
|
||||
@@ -61,7 +62,7 @@ class ProductionConfig(Config):
|
||||
DEBUG = False
|
||||
SQLALCHEMY_DATABASE_URI = os.getenv(
|
||||
'DATABASE_URL',
|
||||
'postgresql://postgres:123456@8.152.207.171:5432/hxops_prod',
|
||||
'postgresql://postgres:difyai123456@localhost:5432/hxops_prod',
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -86,10 +86,6 @@ const messages = {
|
||||
title: 'AI Workspace',
|
||||
brandTitle: 'Hexin AI Workspace',
|
||||
languageLabel: 'Language',
|
||||
languageOptionEn: 'English',
|
||||
languageOptionZhCN: 'Chinese (Simplified)',
|
||||
languageOptionZhTW: 'Chinese (Traditional)',
|
||||
languageOptionTh: 'Thai',
|
||||
userTitle: '{username}\'s AI Workspace',
|
||||
subtitle: 'Choose an agent or click a quick question to start',
|
||||
search: 'Search agents...',
|
||||
@@ -789,10 +785,6 @@ const messages = {
|
||||
title: 'AI 工作台',
|
||||
brandTitle: '和信AI工作台',
|
||||
languageLabel: '语言',
|
||||
languageOptionEn: '英文',
|
||||
languageOptionZhCN: '简体中文',
|
||||
languageOptionZhTW: '繁體中文',
|
||||
languageOptionTh: '泰语',
|
||||
userTitle: '{username} 的 AI 工作台',
|
||||
subtitle: '选择一个助手,或点击常用问题快速开始',
|
||||
search: '搜索应用...',
|
||||
@@ -1471,10 +1463,6 @@ const messages = {
|
||||
title: 'AI 工作台',
|
||||
brandTitle: '和信AI工作台',
|
||||
languageLabel: '語言',
|
||||
languageOptionEn: '英文',
|
||||
languageOptionZhCN: '簡體中文',
|
||||
languageOptionZhTW: '繁體中文',
|
||||
languageOptionTh: '泰語',
|
||||
userTitle: '{username} 的 AI 工作台',
|
||||
subtitle: '選擇一個助手,或點擊常用問題快速開始',
|
||||
search: '搜索應用...',
|
||||
@@ -2153,10 +2141,6 @@ const messages = {
|
||||
title: 'พื้นที่ทำงาน AI',
|
||||
brandTitle: 'Hexin AI Workspace',
|
||||
languageLabel: 'ภาษา',
|
||||
languageOptionEn: 'อังกฤษ',
|
||||
languageOptionZhCN: 'จีน (ตัวย่อ)',
|
||||
languageOptionZhTW: 'จีน (ตัวเต็ม)',
|
||||
languageOptionTh: 'ไทย',
|
||||
userTitle: 'พื้นที่ทำงาน AI ของ {username}',
|
||||
subtitle: 'เลือกผู้ช่วยหรือคลิกคำถามด่วนเพื่อเริ่ม',
|
||||
search: 'ค้นหาตัวแทน...',
|
||||
|
||||
@@ -802,10 +802,10 @@ onBeforeUnmount(() => {
|
||||
<div class="px-4 pt-2 pb-3 border-t border-slate-50 dark:border-slate-700 mt-1">
|
||||
<label class="block text-[11px] font-semibold text-slate-500 dark:text-slate-400 mb-1.5 uppercase tracking-wide">{{ $t('workspace.languageLabel') }}</label>
|
||||
<select v-model="locale" class="w-full bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-700 text-xs font-medium text-slate-700 dark:text-slate-300 rounded-lg px-2.5 py-2 outline-none focus:ring-2 focus:ring-brand-500/20 focus:border-brand-500">
|
||||
<option value="en">{{ $t('workspace.languageOptionEn') }}</option>
|
||||
<option value="zh-CN">{{ $t('workspace.languageOptionZhCN') }}</option>
|
||||
<option value="zh-TW">{{ $t('workspace.languageOptionZhTW') }}</option>
|
||||
<option value="th">{{ $t('workspace.languageOptionTh') }}</option>
|
||||
<option value="en">English</option>
|
||||
<option value="zh-CN">简体中文</option>
|
||||
<option value="zh-TW">繁體中文</option>
|
||||
<option value="th">ไทย</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user