Skip to content

Commit

Permalink
Merge pull request #77 from Alioth1017/main
Browse files Browse the repository at this point in the history
feat: update the chagpt apiUrl.
  • Loading branch information
PawanOsman authored Apr 7, 2024
2 parents 09a8207 + 5e2c7bf commit c805729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { randomUUID } from "crypto";
// Constants for the server and API configuration
const port = 3040;
const baseUrl = "https://chat.openai.com";
const apiUrl = `${baseUrl}/backend-api/conversation`;
const apiUrl = `${baseUrl}/backend-anon/conversation`;
const refreshInterval = 60000; // Interval to refresh token in ms
const errorWait = 120000; // Wait time in ms after an error

Expand Down

0 comments on commit c805729

Please sign in to comment.