Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
MCLifeLeader committed Apr 23, 2024
2 parents f9d4b7e + 63a68a4 commit 0291034
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Src/Solarian.League.Web/Solarian.League.Web/wwwroot/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>404 - Not Found</title>
</head>
<body>
<h1>Content not Found</h1>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"routes": [
{
"route": "/assets/*",
"headers": {
"cache-control": "must-revalidate, max-age=15770000"
}
}
],
"navigationFallback": {
"rewrite": "/index.html"
"rewrite": "/index.html",
"exclude": [ "/assets/*.{png,jpg,gif}", "/css/*" ]
},
"responseOverrides": {
"404": {
"rewrite": "/404.html"
}
},
"globalHeaders": {
"content-security-policy": "default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none'"
},
"mimeTypes": {
".json": "text/json"
}
}

0 comments on commit 0291034

Please sign in to comment.