Spaces:
Running
Running
Update app.js
Browse files
app.js
CHANGED
@@ -74,7 +74,7 @@ app.get('/', (req, res) => {
|
|
74 |
res.status(200).send('Vertex Claude API From GCP');
|
75 |
});
|
76 |
|
77 |
-
app.post('/ai/v1/
|
78 |
const apiKey = req.headers['x-api-key'];
|
79 |
if (apiKey !== API_KEY) {
|
80 |
return res.status(403).json({
|
|
|
74 |
res.status(200).send('Vertex Claude API From GCP');
|
75 |
});
|
76 |
|
77 |
+
app.post('/ai/v1/messages', async (req, res) => {
|
78 |
const apiKey = req.headers['x-api-key'];
|
79 |
if (apiKey !== API_KEY) {
|
80 |
return res.status(403).json({
|