diff --git a/couchpotato/static/scripts/couchpotato.js b/couchpotato/static/scripts/couchpotato.js index b48bc8c..76c5a60 100644 --- a/couchpotato/static/scripts/couchpotato.js +++ b/couchpotato/static/scripts/couchpotato.js @@ -192,7 +192,7 @@ var Route = new Class({ parse: function(){ var self = this; - var path = History.getPath().replace(App.getOption('base_url'), '/').replace(Api.getOption('url'), '/') + var path = History.getPath().replace(Api.getOption('url'), '/').replace(App.getOption('base_url'), '/') var current = path.replace(/^\/+|\/+$/g, '') var url = current.split('/')