Move data fetching into lib

This commit is contained in:
Max Goodhart
2020-06-16 15:08:17 -07:00
parent d7de7a0ca4
commit c3af2f00be
3 changed files with 21 additions and 19 deletions

View File

@@ -3,5 +3,3 @@ export const HEIGHT = 1080
export const GRID_COUNT = 3
export const SPACE_WIDTH = Math.floor(WIDTH / GRID_COUNT)
export const SPACE_HEIGHT = Math.floor(HEIGHT / GRID_COUNT)
export const DATA_URL = 'https://woke.net/csv'
export const REFRESH_INTERVAL = 5 * 60 * 1000