Commit 8a672ca
committed
Enhance resolveTargetUrl function to support absolute URL construction
- Updated the resolveTargetUrl function to accept an optional absoluteUrl parameter, allowing for more flexible URL resolution.
- Improved error handling for URL construction, ensuring robustness when dealing with relative URLs.
- Adjusted the MCP route handlers to utilize the new absoluteUrl parameter for better context handling.1 parent fafbdb2 commit 8a672ca
2 files changed
+62
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
438 | 465 | | |
439 | | - | |
| 466 | + | |
440 | 467 | | |
441 | 468 | | |
442 | 469 | | |
| |||
479 | 506 | | |
480 | 507 | | |
481 | 508 | | |
482 | | - | |
| 509 | + | |
483 | 510 | | |
484 | 511 | | |
485 | 512 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
31 | 57 | | |
32 | 58 | | |
33 | 59 | | |
| |||
229 | 255 | | |
230 | 256 | | |
231 | 257 | | |
232 | | - | |
| 258 | + | |
233 | 259 | | |
234 | 260 | | |
235 | 261 | | |
| |||
245 | 271 | | |
246 | 272 | | |
247 | 273 | | |
248 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
249 | 277 | | |
250 | 278 | | |
251 | 279 | | |
| |||
0 commit comments