chatgpt.com updated its backend api path. fixing (#530)

This commit is contained in:
Salman Paracha 2025-07-14 21:20:23 -07:00 committed by GitHub
parent 5e65572573
commit 2340a45353
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "RouteGPT", "name": "RouteGPT",
"version": "0.1.1", "version": "0.1.2",
"description": "RouteGPT: Smart Model Routing for ChatGPT.", "description": "RouteGPT: Smart Model Routing for ChatGPT.",
"permissions": [ "permissions": [
"storage" "storage"

View file

@ -17,7 +17,7 @@
} }
// Only intercept conversation fetches // Only intercept conversation fetches
if (pathname === '/backend-api/conversation') { if (pathname === '/backend-api/conversation' || pathname === '/backend-api/f/conversation') {
console.log(`${TAG} matched → proxy via content script`); console.log(`${TAG} matched → proxy via content script`);
const { port1, port2 } = new MessageChannel(); const { port1, port2 } = new MessageChannel();