mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
hack to avoid 'board not found' problem in Sandstorm
This commit is contained in:
parent
1ad4107201
commit
cacaa0ee8c
1 changed files with 7 additions and 0 deletions
|
@ -428,6 +428,13 @@ if (isSandstorm && Meteor.isClient) {
|
|||
return url.replace(/^https?:\/\/127\.0\.0\.1:[0-9]{2,5}/, '');
|
||||
};
|
||||
Meteor.absoluteUrl.defaultOptions = _defaultOptions;
|
||||
|
||||
// XXX Hack to fix https://github.com/wefork/wekan/issues/27
|
||||
// Sandstorm Wekan instances only ever have a single board, so there is no need
|
||||
// to cache per-board subscriptions.
|
||||
SubsManager.prototype.subscribe = function(...params) {
|
||||
return Meteor.subscribe(...params);
|
||||
};
|
||||
}
|
||||
|
||||
// We use this blaze helper in the UI to hide some templates that does not make
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue