繁体   English   中英

找不到可变的天蓝色移动应用程序

[英]Can't find variable azure mobile apps

在由Adrian Hall撰写的本教程中 ,我到达了将该代码添加到服务器的部分。 他说他将其添加到了Azure移动应用SDK的初始化中。 我不知道在哪里找到它并放它。 我最终将其放置在我的javascript文件中,但是(显然)这没有返回azuremobileapps。 那么我将这段代码放在哪里? 我对此表示陌生,谢谢。

// Configuration of the Azure Mobile Apps can be done via an object, the
// environment or an auxiliary file.  For more information, see
// http://azure.github.io/azure-mobile-apps-node/global.html#configuration
var mobileApp = azureMobileApps({
    // Explicitly enable the Azure Mobile Apps home page
    homePage: true,
    // Explicitly enable swagger support. UI support is enabled by
    // installing the swagger-ui npm module.
    swagger: true,
    // Authentication settings for custom auth
    auth: {
        audience: '04pHmxVuhYU1QTDo4lEojLo1sseRLfKG',
        issuer: 'https://shellmonger.auth0.com'
    }
});

我找到了。 它位于wwwroot下app.js的Azure门户中的脚本中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM