mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
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.
This commit is contained in:
parent
d9bc56896d
commit
592aa6d576
5 changed files with 32 additions and 40 deletions
|
|
@ -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}/, '');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue