Tag: typescript ion2

您无权查看Azure Ionic App的此目录或页面

我的Ionic2 Node.js应用程序在本地运行,我用GitBash成功地将它推到了azure色。 浏览时显示: “您无权查看此目录或页面。” 我加了 web.config,process.json,index.js, "start": "node index.js" package.json和'azure移动服务'插件。 没有进展。 有人可以协助吗? 谢谢… Web.Config中: <configuration> <system.webServer> <handlers> <add name="iisnode" path="index.js" verb="*" modules="iisnode"/> </handlers> <rewrite> <rules> <rule name="SPA"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> </conditions> <action type="Rewrite" url="/" /> </rule> </rules> </rewrite> […]