-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Meteor.absoluteUrl() to handle being deployed on a virtual-host.com/folder/ #335
Comments
I'll fix it. |
I removed the fonts form the /public folders and started to use it from google fonts api again. But there are a few places where we have to add Meteor.absoluteUrl() to the beginning of the url. @ogirardot can you give it a shot and submit a PR with the changes? |
How are you trying to achieve this? With NGINX or Apache? |
Nginx |
ditto, i too use a virtualhost, but i'm still trying to get past the /_timesync issue. @ogirardot where is _timesync located, or rather, what rule did you use to tell meteor to find it? |
@trogdan it is not a file or directory, it is a registered route on the http server. |
I think this is related to #1696 |
I don't know how useful these links are but Wekan had the same problem: |
Improve SW Logic
I'm kind of struggling trying to get it working on a server name like that http://my.domain/rocket.chat/
More precisely, these fonts/images are trying to load from / instead of ROOT_URL :
Which is not critical but the FlowRouter does not behave as well making it impossible to use the app :
is the error I get, and the meteor-timesync client is trying to use
/_timesync
too (but I managed to redirect using nginx...).My set-up is to use the docker container and a nginx reverse proxy.
I'm not exactly sure what to do to fix the client side...
Regards,
Olivier.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: