Changed url to api. fixes #173

This commit is contained in:
Ruud
2012-04-29 17:06:05 +02:00
parent c161bdd762
commit cea8395e16
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ class Core(Plugin):
return '%s:%d%s' % (cleanHost(host).rstrip('/'), int(port), '/' + Env.setting('url_base').lstrip('/') if Env.setting('url_base') else '')
def createApiUrl(self):
return '%s/%s' % (self.createBaseUrl(), Env.setting('api_key'))
return '%s/api/%s' % (self.createBaseUrl(), Env.setting('api_key'))
def version(self):
ver = fireEvent('updater.info', single = True)