Explorar o código

Editing the autoupdater thingie

Andrea Franceschini %!s(int64=8) %!d(string=hai) anos
pai
achega
7d64a5a7ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/api/git-update.php

+ 1 - 1
pages/api/git-update.php

@@ -3,7 +3,7 @@
 $data = json_decode(file_get_contents('php://input'));
 $secret = $data->secret;
 
-$url = 'http://git.morpheu5.net/api/v1/morpheu5/af/archive/master.tar.gz';
+$url = 'http://git.morpheu5.net/api/v1/repos/morpheu5/af/archive/master.tar.gz';
 
 $cmd = 'curl -L -H "Authorization: token ' . $secret . '" ' . $url . ' > master.tar.gz';