Skip to content

Commit de20e25

Browse files
committed
Deployment Ready
Ready for deployment, testing succesful.
1 parent 9792e0c commit de20e25

9 files changed

Lines changed: 3 additions & 27 deletions

File tree

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ VITE_FOOTBALL_DATA_API_KEY=your-football-data-api-key
1616

1717
# App Configuration
1818
VITE_APP_NAME=SQL-Ball
19-
VITE_APP_VERSION=1.0.0
20-
VITE_APP_ENV=development
19+
VITE_APP_VERSION=1.6.0
20+
VITE_APP_ENV=production
2121

2222
# Feature Flags
2323
VITE_ENABLE_AI_FEATURES=true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Data flow: NL query → backend RAG → schema embedding retrieval → SQL gener
6767
- **Backend:** Render/Railway (see [render.yaml](render.yaml))
6868
- **Database:** Supabase Cloud
6969

70-
Set environment variables in deployment platform settings. See [DEPLOYMENT.md](DEPLOYMENT.md) for detailed instructions.
70+
Set environment variables in deployment platform settings.
7171

7272
## Data
7373

-100 Bytes
Binary file not shown.
-3.91 KB
Binary file not shown.

backend/chroma_db/26374997-a192-4f1c-952f-d2dc72f2bf57/link_lists.bin

Whitespace-only changes.

backend/chroma_db/chroma.sqlite3

-180 KB
Binary file not shown.
-200 KB
Binary file not shown.

vite.config.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,4 @@ export default defineConfig({
2525
}
2626
}
2727
},
28-
server: {
29-
proxy: {
30-
'/api/football-data': {
31-
target: 'https://api.football-data.org/v4',
32-
changeOrigin: true,
33-
secure: false,
34-
rewrite: (path) => path.replace(/^\/api\/football-data/, ''),
35-
configure: (proxy, options) => {
36-
proxy.on('proxyReq', (proxyReq, req, res) => {
37-
// Forward the API key from the original request headers
38-
const apiKey = req.headers['x-auth-token'];
39-
if (apiKey) {
40-
proxyReq.setHeader('X-Auth-Token', apiKey);
41-
}
42-
// Log for debugging
43-
console.log('Proxying:', req.method, req.url, '→', proxyReq.path);
44-
});
45-
proxy.on('error', (err, req, res) => {
46-
console.error('Proxy error:', err);
47-
});
48-
}
49-
}
50-
}
51-
}
5228
})

0 commit comments

Comments
 (0)