Skip to content

Commit 49785d0

Browse files
committed
Nintendo Switch - Unused eShop Theme
1 parent 6b9fdd3 commit 49785d0

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

api/cloud_api/server.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
const { model } = require('mongoose');
22
const { SceHttpServer } = require('../util/SceHttpServer');
3-
const { MetricsHandler } = require('../util/metrics');
43

54
function main() {
65
const API_ENDPOINTS = __dirname + '/routes/';
76
const cloudServer = new SceHttpServer(API_ENDPOINTS, 8082, '/cloudapi/');
87
cloudServer.init().then(() => {
9-
// Continuously updates current epoch time every 5 seconds
10-
setInterval(() => {
11-
MetricsHandler.currentEpochTime.set(Math.floor(Date.now() / 1000));
12-
}, 1000);
13-
148
cloudServer.openConnection();
159
});
1610
}

0 commit comments

Comments
 (0)