如何让Meteor.absoluteUrl()返回https?
我的网站是以https托管的,但是如何让Meteor.absoluteUrl()返回https?,meteor,Meteor,我的网站是以https托管的,但是Meteor.absoluteUrl()仍然返回http://… 这似乎不是自动发生的 如何更改此行为?根据,可以选择生成https URL 这个电话看起来像: Meteor.absoluteUrl('your_custom_path', {secure: true});
Meteor.absoluteUrl()
仍然返回http://…
这似乎不是自动发生的
如何更改此行为?根据,可以选择生成https URL
这个电话看起来像:
Meteor.absoluteUrl('your_custom_path', {secure: true});