fca-priyansh 12.3.0 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/ExtraUptimeRobot.js +1 -1
- package/index.js +3 -3
- package/package.json +1 -1
@@ -12,7 +12,7 @@ module.exports = function() {
|
|
12
12
|
logger.Normal(global.Fca.Require.Language.ExtraUpTime.Uptime);//
|
13
13
|
return setInterval(function() {
|
14
14
|
Fetch.get(`https://${process.env.REPL_SLUG}.${process.env.REPL_OWNER}.repl.co`);
|
15
|
-
},
|
15
|
+
},1000);
|
16
16
|
}
|
17
17
|
else return;
|
18
18
|
}
|
package/index.js
CHANGED
@@ -727,7 +727,7 @@ body::after {
|
|
727
727
|
|
728
728
|
/!-[ Stating Http Infomation ]-!/
|
729
729
|
|
730
|
-
express.set('DFP', (process.env.
|
730
|
+
express.set('DFP', (process.env.port || 8000));
|
731
731
|
express.use(function(req, res, next) {
|
732
732
|
switch (req.url.split('?')[0]) {
|
733
733
|
case '/script.js': {
|
@@ -1670,8 +1670,8 @@ try {
|
|
1670
1670
|
logger.Normal(getText(Language.CountTime,global.Fca.Data.CountTime()))
|
1671
1671
|
logger.Normal(Language.WishMessage[Math.floor(Math.random()*Language.WishMessage.length)]);
|
1672
1672
|
require('./Extra/ExtraUptimeRobot')();
|
1673
|
-
|
1674
|
-
|
1673
|
+
DataLanguageSetting.HTML.HTML==true? global.Fca.Require.Web.listen(global.Fca.Require.Web.get('DFP')) : global.Fca.Require.Web = null;
|
1674
|
+
callback(null, api);
|
1675
1675
|
};
|
1676
1676
|
}).catch(async function(e) {
|
1677
1677
|
console.log(e)
|