Commit cd263515 authored by marc duez's avatar marc duez

conf.js : add optional conf option url_rewriting

parent dfd0cbf0
Pipeline #182266 failed with stages
in 1 minute and 25 seconds
......@@ -177,6 +177,9 @@ Url.prototype= {
},
pushUrl: function(url) {
if (config &&
(config.url_rewriting != undefined && !config.url_rewriting)) return;
if (url==this.current_state) return;
try {
......
......@@ -59,4 +59,7 @@ var config = {
*/
// "alert": "Server is down",
//rewrite url to include sample/display infos (default : true)
//"url_rewriting" : false
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment