Skip to content

Commit

Permalink
update headers
Browse files Browse the repository at this point in the history
  • Loading branch information
silimarius committed Feb 12, 2024
1 parent e03dca9 commit 0adad46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-staging-gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Build and Deploy staging to GKE
on:
push:
branches:
- "main"
# - "main"
- "hotfix/headers"

env:
PROJECT_ID: aleo-botbusters
Expand Down
2 changes: 1 addition & 1 deletion src/server/service/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class Agent {
try {
const response = await fetch(env.AWS_INFERENCE_URL, {
headers: {
"Content-Type": "application/json",
"content-type": "application/json",
authorizationToken: env.LAMBDA_TOKEN,
},
method: "POST",
Expand Down

0 comments on commit 0adad46

Please sign in to comment.