config.lua 743 B

1234567891011121314151617181920212223
  1. return {
  2. -- 通知类型 telegram, pushdeer, bark
  3. NOTIFY_TYPE = "pushdeer",
  4. --
  5. -- telegram 通知配置, https://github.com/0wQ/telegram-notify
  6. TELEGRAM_PROXY_API = "",
  7. TELEGRAM_TOKEN = "",
  8. TELEGRAM_CHAT_ID = "",
  9. --
  10. -- pushdeer 通知配置, https://www.pushdeer.com/
  11. PUSHDEER_API = "https://api2.pushdeer.com/message/push",
  12. PUSHDEER_KEY = "",
  13. --
  14. -- bark 通知配置, https://github.com/Finb/Bark
  15. BARK_API = "https://api.day.app",
  16. BARK_KEY = "",
  17. --
  18. -- 定时查询流量间隔, 单位毫秒, 设置为 0 关闭
  19. QUERY_TRAFFIC_INTERVAL = 1000 * 60 * 60 * 6,
  20. --
  21. -- 定时基站定位间隔, 单位毫秒, 设置为 0 关闭
  22. LOCATION_INTERVAL = 1000 * 60 * 30
  23. }