[英]Telescope app not mobile responsive via the custom URL
I built a site to try out Telescope/meteor and deployed it with Heroku using a custom domain from Godaddy ---> 我建立了一个站点来试用望远镜/流星,并使用Godaddy的自定义域将其与Heroku一起部署--->
ISSUE : When viewing the site iOS : 问题 :在查看网站iOS时:
Good > responsive mobile version appears via the default Heroku url: unfair.herokuapp.com Bad > mobile version does not appear via the custom url: www.un-fair.net (desktop 'full site' shows up) 通过默认Heroku的URL看起来好 >灵活的移动版本:unfair.herokuapp.com 坏 >移动版不通过自定义网址显示:www.un-fair.net(桌面'全网站的显示出来)
I updated the 'ROOT_URL' in Heroku settings and switched it from the default URL to the custom URL but didn't fix the issue. 我更新了Heroku设置中的“ ROOT_URL”,并将其从默认URL切换为自定义URL,但没有解决问题。
Any suggestions ? 有什么建议么 ?
Heroku support claims it is not an issue on their end. Heroku支持者声称这并不是他们的问题。
The only reason I can think of is an issue with your redirection. 我能想到的唯一原因是您的重定向问题。 For example, if you're redirecting via an iFrame instead of setting the DNS, the iFrame hosted by GoDaddy might not have the proper meta tags required to enable the responsive version on mobile.
例如,如果您通过iFrame重定向而不是设置DNS,则GoDaddy托管的iFrame可能没有在移动设备上启用响应版本所需的适当元标记。
It's definitely possible to do, as mine is displaying all right via my Godaddy custom domain. 绝对有可能做到的,因为我的活动通过我的Godaddy自定义域可以正常显示。
When setting up my custom domain with my Telescope app on Heroku, I needed to change the DNS settings via Godaddy. 使用Heroku上的Telescope应用程序设置自定义域时,我需要通过Godaddy更改DNS设置。 You'll need to add (or update if it's already there) a CNAME record where "Host" is "www" so that "Points To" is "unfair.herokuapp.com".
您需要添加(或更新,如果已有的话)CNAME记录,其中“主机”为“ www”,以便“指向”为“ unfair.herokuapp.com”。
How to find the DNS manager in Godaddy: https://www.godaddy.com/help/access-the-dns-manager-19182 如何在Godaddy中查找DNS管理器: https : //www.godaddy.com/help/access-the-dns-manager-19182
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.