mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 17:03:53 +00:00
refract: file structure
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ const playbackRouter = require('./routes/playbackRouter.js');
|
||||
const port = process.env.PORT || config.server.port;
|
||||
|
||||
// Global Objects
|
||||
const Timer = require('./timer.js');
|
||||
const Timer = require('./classes/Timer.js');
|
||||
// TODO: this should be replaced by some sort of calculation
|
||||
let durationForNow = 5400;
|
||||
global.timer = new Timer();
|
||||
|
||||
@@ -116,4 +116,5 @@ class Timer {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = Timer;
|
||||
Reference in New Issue
Block a user