-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Endpoint async functions instead of URL #45
Comments
I think not. It has to do with CORS, cross site scriptiong. the browser does not let you access one site from another, unless the other explicitely allows it. Having said that, what confuses me is how it accesses the image. With the fetchUrl argument, I return the image url, somehow it grabs that, but it is not allowed to do so in general. I guess I will be reading the code in greater depth, to see what magic they do, and maybe to make some upgrades. Thanks for the brilliant work, guys in St. Petersburg (and elsewhere). |
@PythonLinks you missed the point that @ngmiduc is trying to make. Actually, he wants to manage making request on his own. Similar to Image plugin. |
This is really needed Format could be like this LinkTool : {
class : LinkTool,
config : {
endpointAsync = (url) => {
return // some function that somes something with url
}
}
} |
Yes sorry for the unclear issue. Yes, I wanted to manage the request by my own. |
i have the same issue , this would be great if we just get the url do whatever we want with it |
Any solution for this? |
Hi,
is it also possible to put an async function as the endpoint instead of haveing a URL ?
The text was updated successfully, but these errors were encountered: