Skip to content

Commit d667e2d

Browse files
committed
SimpleChatTC:WebFetch: Check for the specific proxy paths
1 parent 7888a88 commit d667e2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/server/public_simplechat/tooljs.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function fetchweburlraw_run(toolcallid, toolname, obj) {
138138
*/
139139
async function fetchweburlraw_setup(tcs) {
140140
// @ts-ignore
141-
let got = await fetch(document["gMe"].proxyUrl).then(resp=>{
141+
let got = await fetch(`${document["gMe"].proxyUrl}/urlraw?url=jambudweepe.multiverse.987654321123456789`).then(resp=>{
142142
tcs["fetch_web_url_raw"] = {
143143
"handler": fetchweburlraw_run,
144144
"meta": fetchweburlraw_meta,
@@ -206,7 +206,7 @@ function fetchweburltext_run(toolcallid, toolname, obj) {
206206
*/
207207
async function fetchweburltext_setup(tcs) {
208208
// @ts-ignore
209-
let got = await fetch(document["gMe"].proxyUrl).then(resp=>{
209+
let got = await fetch(`${document["gMe"].proxyUrl}/urltext?url=jambudweepe.akashaganga.multiverse.987654321123456789`).then(resp=>{
210210
tcs["fetch_web_url_text"] = {
211211
"handler": fetchweburltext_run,
212212
"meta": fetchweburltext_meta,

0 commit comments

Comments
 (0)