diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag b/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag index 748d82ed..c7731e91 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/lib/fuse.jag @@ -1,4 +1,10 @@ <% +var getPath = File.prototype.getPath; +File.prototype.getPath = function() { + var path = getPath.call(this); + path = path.replace(/\\/g, '/'); + return path; +}; //global object to pass request stat among fuse framework files. var fuseState = {