Skip to content

Commit

Permalink
try pages again
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Zhang committed Jun 28, 2023
1 parent 0ba7e58 commit c2fa359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ <h1>Vanilla JavaScript App</h1>
<br />

<a href="/.auth/login/twitter">Login Twitter</a>

<br />
<br />
<a href="/pages/">Goto pages</a>

</main>

Expand Down
2 changes: 1 addition & 1 deletion src/staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"rewrite": "/.auth/login/github"
},
{
"route": "/pages*",
"route": "/pages/*",
"allowedRoles": ["authenticated"]
},
]
Expand Down

0 comments on commit c2fa359

Please sign in to comment.