modproxy fix

This commit is contained in:
Ruud
2012-01-14 17:19:37 +01:00
parent c154d3e671
commit 1a9d15ecc2
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ def runCouchPotato(options, base_path, args, handle = None):
}
# Static path
web.add_url_rule(url_base + '/static/<path:filename>',
web.add_url_rule('static/<path:filename>',
endpoint = 'static',
view_func = app.send_static_file)
+1 -1
View File
@@ -193,7 +193,7 @@ var Route = new Class({
parse: function(url_string){
var self = this;
var path = History.getPath().replace(Api.getOption('url'), '/') //Remove API front
var path = History.getPath().replace(App.getOption('base_url'), '/')
var current = path.replace(/^\/+|\/+$/g, '')
var url = current.split('/')
+1 -1
View File
@@ -21,7 +21,7 @@ var PageBase = new Class({
if(self.has_tab){
var nav = App.getBlock('navigation');
self.tab = nav.addTab({
'href': '/'+self.name,
'href': App.createUrl(self.name),
'title': self.title,
'text': self.name.capitalize()
});
+1 -1
View File
@@ -152,7 +152,7 @@ Page.Settings = new Class({
var label = (tab.label || tab.name || tab_name).capitalize()
var tab_el = new Element('li.t_'+tab_name).adopt(
new Element('a', {
'href': '/'+self.name+'/'+tab_name+'/',
'href': App.createUrl(self.name+'/'+tab_name),
'text': label
}).adopt()
).inject(self.tabs_container);