Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
12345678910111213141516const timesync = require('timesync/dist/timesync')
let ts
document.addEventListener('turbolinks:load', () => { if (window.gon && window.gon.race && !ts) { ts = timesync.create({ server: '/api/v4/timesync', // 10 minute refresh interval interval: 10 * 60 * 1000 }) }})
export { ts }