mirror of
https://github.com/youngchief-btw/ProxyChief.git
synced 2024-06-19 15:37:06 +00:00
Asynchronous self-updating!
This commit is contained in:
parent
fb1bb8af89
commit
e21e66d9e6
|
@ -34,7 +34,7 @@ app.get("/", function(req, res) {
|
|||
|
||||
app.listen(process.env.PORT);
|
||||
|
||||
setInterval(function() {
|
||||
setInterval(async function() {
|
||||
// Self-updating
|
||||
exec("git pull && git fetch", (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user