Skip to content

Commit df7b666

Browse files
authored
Update tutorial-v2-javascript-auth-code.md
1 parent 578da78 commit df7b666

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/active-directory/develop/tutorial-v2-javascript-auth-code.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ To configure the code sample before you execute it, skip to the [configuration s
7373
Make sure you have [Node.js](https://nodejs.org/en/download/) installed, and then create a folder to host your application. Next, implement a small [Express](https://expressjs.com/) web server to serve your `index.html` file.
7474

7575
1. First, navigate to your project folder in your terminal and then run the following NPM commands.
76-
```console
76+
```console
7777
npm init -y
7878
npm install @azure/msal-Browser
7979
npm install express
80-
```
80+
```
8181
2. Next, create a .js file named *server.js*, and then add the following code:
8282

83-
```JavaScript
83+
```JavaScript
8484
const express = require('express');
8585
const morgan = require('morgan');
8686
const path = require('path');
@@ -204,7 +204,7 @@ You now have a simple server to serve your SPA. The intended folder structure at
204204
<script type="text/javascript" src="./graph.js"></script>
205205
</body>
206206
</html>
207-
```
207+
```
208208

209209
> [!TIP]
210210
> You can replace the version of MSAL.js in the preceding script with the latest released version under [MSAL.js releases](https://github.com/AzureAD/microsoft-authentication-library-for-js/releases).

0 commit comments

Comments
 (0)