newsnow/shared/consts.ts

16 lines
315 B
TypeScript
Raw Normal View History

2024-10-04 15:36:03 +08:00
/**
2024-10-05 17:20:49 +08:00
*
2024-10-04 15:36:03 +08:00
*/
2024-10-11 01:45:42 +08:00
import packageJSON from "../package.json"
2024-10-05 17:20:49 +08:00
export const TTL = 30 * 60 * 1000
/**
2024-10-10 22:47:25 +08:00
* , 10 min
2024-10-05 17:20:49 +08:00
*/
export const Interval = 10 * 60 * 1000
2024-10-11 01:45:42 +08:00
export const Homepage = packageJSON.homepage
export const Version = packageJSON.version
export const Author = packageJSON.author