I did request desktop site, it doesn't change anything except making me log in again
I did request desktop site, it doesn't change anything except making me log in again
AiTextClassificationOutput. Im using distilbert-sst-2-int8
html page that has different values in the head depending on the path, im wondering if there's a good way to organize my code so i can work on html separatelyconst res = context.env.ASSETS.fetch and then do a const text = await res.text() and then modify it and return it.




How do I call the fetch on service A without having to manually specify the URL as it might changeWhen using the service binding the URL doesn't really "mean" anything in the normal fetch sense here, it just is passed verbatim to the other Worker in
request.url. It will still hit that worker even if you put something silly like http://dummy.how can I stop external requests from being able to hit project A directly?Disable the workers.dev subdomain for the Worker (
workers_dev = false in wrangler.toml) and don't define any routes entries for it.

export const onRequestGet: PagesFunction = async (context) => {
const path = new URL(context.request.url).pathname;
return context.env.ASSETS.fetch(context.request);
};AiTextClassificationOutputhtmlJSON.parse(`${response}`);