diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-24 13:07:55 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-12-24 13:13:05 +0100 |
commit | 592aa6d5762b6d04e4f66364da4a58cea6b25d67 (patch) | |
tree | 6b320f99f7e894f5f7eeda85e0ad30bf45c2da17 /sandstorm.js | |
parent | d9bc56896dc1bb546dc8d430827dc17889c97535 (diff) | |
download | wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.tar.gz wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.tar.bz2 wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.zip |
Partially revert aae5030
As discussed in #370 and announced in the official Eslint-meteor
plugin repository (https://github.com/dferber90/eslint-plugin-meteor),
it is recommended to not use this plugin anymore has the author has it
is currently broken and the author has abandoned it.
Diffstat (limited to 'sandstorm.js')
-rw-r--r-- | sandstorm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandstorm.js b/sandstorm.js index 5148095f..11bafa10 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -160,7 +160,7 @@ if (isSandstorm && Meteor.isClient) { // sandstorm client to return relative paths instead of absolutes. const _absoluteUrl = Meteor.absoluteUrl; const _defaultOptions = Meteor.absoluteUrl.defaultOptions; - Meteor.absoluteUrl = (path, options) => { // eslint-disable-line meteor/core + Meteor.absoluteUrl = (path, options) => { const url = _absoluteUrl(path, options); return url.replace(/^https?:\/\/127\.0\.0\.1:[0-9]{2,5}/, ''); }; |