Update main.js
Browse files
main.js
CHANGED
@@ -111,15 +111,19 @@ async function upts() {
|
|
111 |
console.log("- monitoring...[ UPTPAGE ]")
|
112 |
} catch(e) {console.log(e)}
|
113 |
}
|
114 |
-
setInterval(upts,60000)
|
115 |
async function haha()
|
116 |
{
|
117 |
const vid = await axios.get(`https://megu-4.haimothaihai.repl.co/anime-video`);
|
118 |
const vidlink = vid.data.url;
|
119 |
console.log("request: megu-4")
|
120 |
}
|
121 |
-
setInterval(haha, 60*1000*60*10);
|
122 |
-
|
|
|
|
|
|
|
|
|
123 |
|
124 |
|
125 |
var totaltime = (new Date().getTime() - starttime)/1000;
|
|
|
111 |
console.log("- monitoring...[ UPTPAGE ]")
|
112 |
} catch(e) {console.log(e)}
|
113 |
}
|
114 |
+
//setInterval(upts,60000)
|
115 |
async function haha()
|
116 |
{
|
117 |
const vid = await axios.get(`https://megu-4.haimothaihai.repl.co/anime-video`);
|
118 |
const vidlink = vid.data.url;
|
119 |
console.log("request: megu-4")
|
120 |
}
|
121 |
+
//setInterval(haha, 60*1000*60*10);
|
122 |
+
const port = 7860;
|
123 |
+
|
124 |
+
app.listen(port, () => {
|
125 |
+
console.log(`[ MEGU] Listen at: ${port}`);
|
126 |
+
});
|
127 |
|
128 |
|
129 |
var totaltime = (new Date().getTime() - starttime)/1000;
|