mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Favor FlowRouter.url over Meteor.absoluteUrl
It hides the leading slash treatment as an hidden implementation detail.
This commit is contained in:
parent
9ef8ebaf09
commit
701262a439
3 changed files with 17 additions and 34 deletions
|
|
@ -19,7 +19,7 @@ Template.boardMenuPopup.helpers({
|
|||
exportUrl() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
const loginToken = Accounts._storedLoginToken();
|
||||
return Meteor.absoluteUrl(`api/boards/${boardId}?authToken=${loginToken}`);
|
||||
return FlowRouter.url(`api/boards/${boardId}?authToken=${loginToken}`);
|
||||
},
|
||||
exportFilename() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue