Skip to content

Commit

Permalink
routes described in file
Browse files Browse the repository at this point in the history
  • Loading branch information
andreu-vall committed Nov 8, 2023
1 parent eaf4693 commit de22b50
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions staticwebapp.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"routes": [
{
"route": "/signup",
"allowedRoles": ["anonymous"]
},
{
"route": "/login",
"allowedRoles": ["anonymous"]
},
{
"route": "/passwordrecovery",
"allowedRoles": ["anonymous"]
},
{
"route": "/passwordrecovery/set",
"allowedRoles": ["anonymous"]
},
{
"route": "/postRecipe",
"allowedRoles": ["authenticated"]
},
{
"route": "/logout",
"allowedRoles": ["authenticated"]
},
{
"route": "/userfeed",
"allowedRoles": ["authenticated"]
},
{
"route": "/RecipeDetail/:id",
"allowedRoles": ["authenticated"]
}
]
}

0 comments on commit de22b50

Please sign in to comment.