Skip to content

Commit

Permalink
fix: add title to codeblock (#1483)
Browse files Browse the repository at this point in the history
  • Loading branch information
OryTiki authored Aug 2, 2023
1 parent 01aec71 commit 1bae17f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/integrate-auth/10_expressjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ This requires the express app (`npm run start`) to run on port 3000. The browser
Next we add a session check to the default home page of the example application. The highlighted code is what we added to check
whether the user is signed in, and redirect them to the login page if not:

```mdx-code-block
```mdx-code-block title="routes/index.js"
import homePage from '!!raw-loader!../../../code-examples/protect-page-login/expressjs/routes/index.js'
import CodeBlock from '@theme/CodeBlock'

Expand Down

0 comments on commit 1bae17f

Please sign in to comment.