Remove unused API file and update gitignore

- Delete src/pages/api/filaments.ts that was causing build failure
- Add .vite/ to gitignore

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
DaX
2025-06-18 23:49:34 +02:00
parent 606a5136dc
commit 68cb8c4bf6
2 changed files with 3 additions and 25 deletions

3
.gitignore vendored
View File

@@ -10,6 +10,9 @@ coverage/
dist/
build/
# Vite
.vite/
# Misc
.DS_Store
.env

View File

@@ -1,25 +0,0 @@
import type { Filament } from '../../types/filament';
// This file is only used for AWS Amplify deployment
// Local development uses the Vite middleware in vite.config.ts
export async function handler(event: any) {
// For AWS Amplify
if (event.httpMethod !== 'GET') {
return {
statusCode: 405,
body: JSON.stringify({ error: 'Method not allowed' })
};
}
// In production, this would use the server-side confluence module
// For now, return empty array to avoid errors
return {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
'Cache-Control': 'max-age=300'
},
body: JSON.stringify([])
};
}