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
fix: remove Meteor.absoluteUrl and proxy ddp through vite.
This is needed when using header auth in development, otherwise the websocket to meteor connects directly rather than through the reverse proxy which adds the auth headers.
This reverts commit e6e9aa7.
* @summary Generate an absolute URL pointing to the application. The server reads from the `ROOT_URL` environment variable to determine where it is running. This is taken care of automatically for apps deployed to Galaxy, but must be provided when using `meteor build`.
239
-
* @locus Anywhere
240
-
* @param {String} [path] A path to append to the root URL. Do not include a leading "`/`".
241
-
* @param {Object} [options]
242
-
* @param {Boolean} options.secure Create an HTTPS URL.
243
-
* @param {Boolean} options.replaceLocalhost Replace localhost with 127.0.0.1. Useful for services that don't recognize localhost as a domain name.
244
-
* @param {String} options.rootUrl Override the default ROOT_URL from the server environment. For example: "`http://foo.example.com`"
0 commit comments