cyzyvos
cyzyvos
Explore posts from servers
DDeno
Created by cyzyvos on 9/22/2023 in #help
setting a cookie for import requests
is there a way to modify request headers or set cookies for the GET requests that deno makes when resolving imports? concrete use case: I want to test a library that is served by a local static file server on my machine and forwarded through vs code's tunnel feature – but without a specific cookie, the tunnel serves a safety warning instead of the forwarded content.
4 replies
CDCloudflare Developers
Created by cyzyvos on 8/30/2023 in #pages-help
Is it possible to upload files via the API?
I would like to deploy a site (let's say consisting of an index.html and a style.css file) to cloudflare pages. Is it possible to do this via the API? I couldn't find anything in the docs. Thanks!
3 replies
CDCloudflare Developers
Created by cyzyvos on 8/30/2023 in #workers-help
Is it possible to upload a worker script (w/ ESM syntax) using the API?
According to the API docs, uploaded scripts have to be in service worker syntax – and I can confirm this: scripts in ESM syntax can be deployed via the browser editor but not via the API. Is this going to be fixed? Is there a way to work around this? thanks!
7 replies