template-engine
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -29,3 +29,3 @@ var Class = require('core').Class; | ||
if(!this.configuration.runtime.hasOwnProperty('static_url')){ | ||
this.configuration.runtime.static_url = "http://ocdn.eu/static/"; | ||
this.configuration.runtime.static_url = "http://ocdn.eu/static"; | ||
} | ||
@@ -77,3 +77,3 @@ if(!this.configuration.runtime.hasOwnProperty('resource_url')){ | ||
} else if(resourcePath.indexOf('/static/')==0){ | ||
return new OcdnStaticUrl(this.configuration.runtime.static_url + resourcePath.replace('/static/', '')); | ||
return new OcdnStaticUrl(this.configuration.runtime.static_url + resourcePath.replace('/static', '')); | ||
} else if(resourcePath.indexOf('/files/')==0){ | ||
@@ -105,2 +105,2 @@ return new OcdnFilesUrl(this.configuration.runtime.static_url + resourcePath); | ||
Ocdn = new Class(new Ocdn()); | ||
exports.Ocdn = Ocdn; | ||
exports.Ocdn = Ocdn; |
{ | ||
"name": "template-engine", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Engine that renders templates of any kind", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
37336