Commit f749b1b
authored
fix: improve store search for actor pictureUrl by using name-only query (#459)
The store keyword search with the full actor name (e.g. 'apify/instagram-scraper')
often returned unrelated results, causing the pictureUrl lookup to fail. The widget
then fell back to the raw S3 URL from actor.get(), which fails CORS in the OpenAI
iframe due to crossOrigin='anonymous' on ActorAvatar.
Use only the actor name part after '/' (e.g. 'instagram-scraper') for much better
search relevance, so the proxied images.apifyusercontent.com URL is used instead.1 parent 825ec42 commit f749b1b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments