You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hack I initially written consisted in overwrite the Meteor.absoluteUrl to change its logic in a way that works on Sandstorm (here). Looking at the code again, it seems that a much easier way to have it work is to overwrite the client-side ROOT_URL variable that this function is using, instead of overwriting the function itself.
The value is defined here, and I guess the clean way would be either to set __meteor_runtime_config__.ROOT_URL or if we can’t to update Meteor.absoluteUrl.defaultOptions.rootUrl after client loading.
Meteor application boundled for Sandstorm should have
Meteor.absoluteUrl
changed so thatX-Sandstorm-Base-Path
is used for its root path.The text was updated successfully, but these errors were encountered: