Userscript not working with baseurl
This commit is contained in:
@@ -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('/')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user