我已将我的简单php应用程序推送到Heroku并获得一些js文件的403状态。https://guarded-forest-7267.herokuapp.com/vendor/jquery/dist/jquery.min.jsFailedtoloadresource:theserverrespondedwithastatusof403(Forbidden)https://guarded-forest-7267.herokuapp.com/vendor/jquery-form/jquery.form.jsFailedtoloadresource:theserverrespondedwit
嗯,我会尽量说得更清楚..在我用node.js编写的应用服务器中,我有多个端口的内部代理:在我的8080端口我有我的restapi。在我的3000端口我有我的推送服务器和聊天。我使用npm包subdomain-router用于到端口的内部路由,在“前端”中公开子域,这些子域代理回这些端口。代码演示:(显然不是应用的真实名称)require('subdomain-router')({host:'.herokuapp.com',subdomains:{'':8080,//.herokuapp.com::8080--WORKS--'api':8080,//api..herokuapp.com
嗯,我会尽量说得更清楚..在我用node.js编写的应用服务器中,我有多个端口的内部代理:在我的8080端口我有我的restapi。在我的3000端口我有我的推送服务器和聊天。我使用npm包subdomain-router用于到端口的内部路由,在“前端”中公开子域,这些子域代理回这些端口。代码演示:(显然不是应用的真实名称)require('subdomain-router')({host:'.herokuapp.com',subdomains:{'':8080,//.herokuapp.com::8080--WORKS--'api':8080,//api..herokuapp.com
下载bower包时,Bower安装失败并显示502-BadGateway。例如,ember库的bowerinstall在命令行中给出以下响应。EINVRESRequesttohttps://bower.herokuapp.com/packages/emberfailedwith502当http://bower.herokuapp.com/直接从URL访问它会给出以下消息。ThisBowerversionisdeprecated.Pleaseupdateit:npminstall-gbower.Thenewregistryaddressishttps://registry.bower.i
下载bower包时,Bower安装失败并显示502-BadGateway。例如,ember库的bowerinstall在命令行中给出以下响应。EINVRESRequesttohttps://bower.herokuapp.com/packages/emberfailedwith502当http://bower.herokuapp.com/直接从URL访问它会给出以下消息。ThisBowerversionisdeprecated.Pleaseupdateit:npminstall-gbower.Thenewregistryaddressishttps://registry.bower.i