chatgpt.com updated its backend api path. fixing

This commit is contained in:
Salman Paracha 2025-07-14 20:52:13 -07:00
parent 5e65572573
commit 90d5d98bc1
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -17,7 +17,7 @@
}
// 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`);
const { port1, port2 } = new MessageChannel();