Skip to content

Commit

Permalink
fix: add health check for CD (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschlabach authored Feb 22, 2025
1 parent edd6d33 commit 62049df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apps/base-docs/docs/public/serve.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rewrites": [
{
"source": "/api/_health",
"destination": "/index.html"
}
]
}
4 changes: 3 additions & 1 deletion apps/base-docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export default defineConfig({
},
headers: {
'Cache-Control': 'no-store',
'Content-Security-Policy': Object.entries(contentSecurityPolicy).map(([key, value]) => `${key} ${value.join(' ')}`).join('; '),
'Content-Security-Policy': Object.entries(contentSecurityPolicy)
.map(([key, value]) => `${key} ${value.join(' ')}`)
.join('; '),
},
},
resolve: {
Expand Down

0 comments on commit 62049df

Please sign in to comment.