Javascript 找不到可变的azure移动应用程序
在Adrian Hall的这篇文章中,我谈到了将此代码添加到服务器的部分。他说他将其添加到azure移动应用程序sdk的初始化中。我不知道在哪里可以找到这个,把它放在哪里。我最后把它放在了我的javascript文件中,但这显然没有返回azuremobileapps。那么我应该把这个代码放在哪里呢?我是新来的,提前谢谢你Javascript 找不到可变的azure移动应用程序,javascript,azure,authentication,azure-mobile-services,Javascript,Azure,Authentication,Azure Mobile Services,在Adrian Hall的这篇文章中,我谈到了将此代码添加到服务器的部分。他说他将其添加到azure移动应用程序sdk的初始化中。我不知道在哪里可以找到这个,把它放在哪里。我最后把它放在了我的javascript文件中,但这显然没有返回azuremobileapps。那么我应该把这个代码放在哪里呢?我是新来的,提前谢谢你 // Configuration of the Azure Mobile Apps can be done via an object, the // environment
// 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'
}
});
我找到了。它位于您在azure门户的app.js中wwwroot下的脚本中