Browse Source

Userscript not working with baseurl

pull/70/head
Ruud 13 years ago
parent
commit
f35a68edd7
  1. 2
      couchpotato/static/scripts/couchpotato.js

2
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('/')

Loading…
Cancel
Save