mirror of
https://github.com/katanemo/plano.git
synced 2026-05-06 22:32:42 +02:00
chatgpt.com updated its backend api path. fixing (#530)
This commit is contained in:
parent
5e65572573
commit
2340a45353
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue