Skip to content

Commit bb46fac

Browse files
Merge pull request #213958 from salman90/updated-quickstart-tutorial
Updated code snips for QuickStart tutorials
2 parents 8b90496 + 1c7e76a commit bb46fac

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

articles/active-directory/develop/tutorial-v2-javascript-spa.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,12 @@ In the next steps you'll create a new folder for the JavaScript SPA, and set up
178178
<title>Quickstart | MSAL.JS Vanilla JavaScript SPA</title>
179179

180180
<!-- msal.js with a fallback to backup CDN -->
181-
<script type="text/javascript" src="https://alcdn.msauth.net/lib/1.2.1/js/msal.js" integrity="sha384-9TV1245fz+BaI+VvCjMYL0YDMElLBwNS84v3mY57pXNOt6xcUYch2QLImaTahcOP" crossorigin="anonymous"></script>
182-
<script type="text/javascript">
183-
if(typeof Msal === 'undefined')document.write(unescape("%3Cscript src='https://alcdn.msftauth.net/lib/1.2.1/js/msal.js' type='text/javascript' integrity='sha384-m/3NDUcz4krpIIiHgpeO0O8uxSghb+lfBTngquAo2Zuy2fEF+YgFeP08PWFo5FiJ' crossorigin='anonymous'%3E%3C/script%3E"));
184-
</script>
181+
<script src="https://alcdn.msauth.net/browser/2.30.0/js/msal-browser.js"
182+
integrity="sha384-L8LyrNcolaRZ4U+N06atid1fo+kBo8hdlduw0yx+gXuACcdZjjquuGZTA5uMmUdS"
183+
crossorigin="anonymous"></script>
185184

186185
<!-- adding Bootstrap 4 for UI components -->
187-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
186+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-o4ufwq3oKqc7IoCcR08YtZXmgOljhTggRwxP2CLbSqeXGtitAxwYaUln/05nJjit" crossorigin="anonymous">
188187
</head>
189188
<body>
190189
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">

articles/active-directory/develop/tutorial-v2-nodejs-console.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ async function callApi(endpoint, accessToken) {
233233
console.log('request made to web API at: ' + new Date().toString());
234234

235235
try {
236-
const response = await axios.default.get(endpoint, options);
236+
const response = await axios.get(endpoint, options);
237237
return response.data;
238238
} catch (error) {
239239
console.log(error)

0 commit comments

Comments
 (0)