ASK
ASK
CDCloudflare Developers
Created by ASK on 2/12/2024 in #workers-help
Need to make a url load html page in worker with path
Bumping this up folks, still didn't find any solution!
2 replies
CDCloudflare Developers
Created by ASK on 8/29/2023 in #workers-help
Custom domain should trigger worker path
@tutankhamen How about if there are two custom domains but only one should redirect?
5 replies
CDCloudflare Developers
Created by ASK on 10/27/2023 in #workers-help
Show worker page on going to custom domain
I'll check it out, thanks!
7 replies
CDCloudflare Developers
Created by ASK on 10/27/2023 in #workers-help
Show worker page on going to custom domain
I have a custom domain https://domain2.com which is in cloudflare added as a trigger to the worker https://test.workers.dev. What can I do with it?
7 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
I did do that too... No dice
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
Yes
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
I'm not getting error. The kv is just returning null even though value for the key exists
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
About 1 week
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
Right
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
Production
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
Mistake on my part
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
The key itself is present and has value in kv store
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
@JustinNoel The code snippet is as follows:
let res = await env.KV_NAME.get(kv_id)
.then((r) => {
console.log("Successful response from KV => ", r);
return r;
})
.catch((e) => {
console.warn(" error in getting the from kv ", e);
return null;
});
let res = await env.KV_NAME.get(kv_id)
.then((r) => {
console.log("Successful response from KV => ", r);
return r;
})
.catch((e) => {
console.warn(" error in getting the from kv ", e);
return null;
});
Here is the sample code... Sometimes, I'm getting null in the then part of the response, not the catch part. So the request is successful while the return response from kv is null even though there is value for the said key
22 replies
CDCloudflare Developers
Created by ASK on 10/18/2023 in #workers-help
KV giving null while doing get even though the key exists
Production
22 replies
CDCloudflare Developers
Created by ASK on 8/29/2023 in #workers-help
Custom domain should trigger worker path
Worked like a charm. Thanks!
5 replies