smgc commited on
Commit
18e5200
1 Parent(s): f656f01

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
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/chat/completions', async (req, res) => {
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({