config.example.json 972 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "parse": {
  3. "appId": "TARGET_PARSE_APP_ID",
  4. "masterKey": "TARGET_PARSE_MASTER_KEY",
  5. "databaseURI": "postgresql://TARGET_DB_USER:TARGET_DB_PASSWORD@TARGET_DB_HOST:5432/TARGET_DB_NAME",
  6. "serverURL": "http://localhost:3000/parse",
  7. "masterKeyIps": ["0.0.0.0/0", "::/0"],
  8. "allowHeaders": ["*"],
  9. "allowOrigin": "*",
  10. "port": 3000,
  11. "allowClientClassCreation": true,
  12. "enableAnonymousUsers": false,
  13. "allowExpiredAuthDataToken": false,
  14. "revokeSessionOnPasswordReset": true,
  15. "cloud": "./cloud/main.js"
  16. },
  17. "relay": {
  18. "baseUrl": "https://server.fmode.cn",
  19. "auth": "Bearer sk-TARGET_RELAY_SK",
  20. "sorftimePath": "/api/voc-ecom/forward",
  21. "tikhubBasePath": "/api/voc-social",
  22. "timeoutMs": 30000,
  23. "maxRetries": 1,
  24. "_comment": "sk 仅保存在客户后端;前端 runtime-config 不得包含此字段"
  25. },
  26. "apiLogLevel": "ERROR",
  27. "environment": "production",
  28. "debug": false,
  29. "logLevel": "info"
  30. }