Skip to content

Commit

Permalink
- fix: add gzip
Browse files Browse the repository at this point in the history
  • Loading branch information
agallardol committed Jun 4, 2024
1 parent f1b247a commit 2786eb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/shinkai-message-ts/src/http-client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import axios from "axios";
import axios from 'axios';

export const httpClient = axios.create({
timeout: 2 * 60 * 1000, // 2 minutes
});

httpClient.defaults.headers.common['Accept-Encoding'] = 'gzip';

0 comments on commit 2786eb4

Please sign in to comment.