1
1
forked from wangqifan/calc
This commit is contained in:
frankkeres 2025-04-02 17:10:53 +08:00
commit 61c80c80c0
6 changed files with 8 additions and 8 deletions

2
.env Normal file
View File

@ -0,0 +1,2 @@
# API配置
VUE_APP_API_BASE_URL=http://localhost:8000

5
.gitignore vendored
View File

@ -7,11 +7,6 @@ disk/
# 常见的需要忽略的文件 # 常见的需要忽略的文件
.DS_Store .DS_Store
node_modules/ node_modules/
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*

3
backend/.env Normal file
View File

@ -0,0 +1,3 @@
AWS_ACCESS_KEY_ID=AKIAVIOZF67K6HNCUJ5Y
AWS_SECRET_ACCESS_KEY=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
AWS_DEFAULT_REGION=us-east-1

View File

@ -1,2 +1,2 @@
# 生产环境API配置 # 生产环境API配置
VUE_APP_API_BASE_URL=http://127.0.0.1:8000 VUE_APP_API_BASE_URL=http://calc.buddyscloud.com:8000

Binary file not shown.

View File

@ -431,8 +431,8 @@
region: 'us-east-1', region: 'us-east-1',
disk_type: 'gp3', disk_type: 'gp3',
operating_system: 'Linux', // Linux operating_system: 'Linux', // Linux
monthly_discount: 0.8, // 80%8 monthly_discount: 0.95, // 80%8
yearly_discount: 0.6 // 60%6 yearly_discount: 0.85 // 60%6
}, },
regions: [], regions: [],
searchResults: [], searchResults: [],