default.ts 664 B

12345678910111213
  1. export default {
  2. REACT_APP_ENV: 'prod',
  3. REACT_APP_ID: 'perms-system-web',
  4. REACT_APP_NAME: 'Perms System PMP',
  5. REACT_APP_VERSION: '1.0.0',
  6. STORAGE_NAME_SPACE: 'perms-system-web-',
  7. ENABLE_REQUEST_ENCRYPTION: false,
  8. REQUEST_ENCRYPTION_KEY: 'ef7d8c60c013cf85bf1a079d2d50af46', // md5(sha256(${REACT_APP_ID}-${REACT_APP_VERSION}))
  9. ENABLE_STORAGE_ENCRYPTION: true,
  10. STORAGE_ENCRYPTION_KEY: '31396fcaaf54dcc8', // md5(sha1(${REACT_APP_ID}-${REACT_APP_VERSION})).slice(0, 16)
  11. // 管理后台登录密钥,必须与服务端 etc/perm-api.yaml 中 Auth.ManagementKey 一致,各环境单独配置
  12. REACT_APP_MANAGEMENT_KEY: '',
  13. } as NodeJS.ProcessEnv;