feat: implement PocketBase database schema setup script and core API service for content management
All checks were successful
On Push to Main / test (push) Successful in 29s
On Push to Main / publish (push) Successful in 59s
On Push to Main / deploy-dev (push) Successful in 1m33s

This commit is contained in:
RaymondVerhoef
2026-05-17 14:18:26 +02:00
parent 1bc51b3cb6
commit 775c3030d5
6 changed files with 38 additions and 4 deletions

View File

@@ -10,7 +10,14 @@ export default defineConfig({
'/api/anthropic': {
target: 'https://api.anthropic.com',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/anthropic/, '')
rewrite: (path) => path.replace(/^\/api\/anthropic/, ''),
configure: (proxy) => {
proxy.on('proxyReq', (proxyReq) => {
if (process.env.ANTHROPIC_API_KEY) {
proxyReq.setHeader('x-api-key', process.env.ANTHROPIC_API_KEY);
}
});
}
}
}
}