|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
/* globals getHttpBridge, waitPromise */ |
|
|
|
|
/* globals getHttpBridge, waitPromise, UploadFS */ |
|
|
|
|
/* exported getHttpBridge, waitPromise */ |
|
|
|
|
|
|
|
|
|
RocketChat.Sandstorm = {}; |
|
|
|
|
@ -31,7 +31,7 @@ if (process.env.SANDSTORM === '1') { |
|
|
|
|
|
|
|
|
|
// This usual implementation of this method returns an absolute URL that is invalid
|
|
|
|
|
// under Sandstorm.
|
|
|
|
|
UploadFS.Store.prototype.getURL = function (path) { |
|
|
|
|
UploadFS.Store.prototype.getURL = function(path) { |
|
|
|
|
return this.getRelativeURL(path); |
|
|
|
|
}; |
|
|
|
|
} |
|
|
|
|
|