Fuming
CDCloudflare Developers
•Created by Fuming on 9/7/2024 in #general-help
Vectorize and email routing disappeared
Hi!
I am pretty new to cloudflare, and I was just going to start a new project that uses (amongst other things) cloudflare vectorize and email routing.
Some weeks ago I checked and I could access to bowth of them from my dashboard.
Some days ago email routing just disappeared from my dashboard, and now vectorize has disappeared too.
What is happening? Is this a common occurrence? Will those services re-appear again, or are they gone forever? Is it because they were beta??
I still can access the documentation of both of them, but they do not appear in the dashboard.
Idk if it could be related somehow, but rn I am based in Spain. (Maybe a region block or something similar comes to mind?)
12 replies
CDCloudflare Developers
•Created by Fuming on 5/7/2024 in #workers-help
How do I return a HTML? Hono ts
Hi!
I've been trying to return a HTML file on my worker. That HTML is saved in on another file. I need to read it in some way so I can return it using c.html() (Hono way of returning HTML). I've tried reading the file using node, however I get this error message:
Enabling Node.js compatibility mode for built-ins and globals. This is experimental and has serious tradeoffs. Please see https://github.com/ionic-team/rollup-plugin-node-polyfills/ for more details.
Is there any way of returning that index.html file from that endpoint, without using node?
Folder structure:
public/
- views/
- - index.html
src/
- index.ts
Index.ts:
7 replies
CDCloudflare Developers
•Created by Fuming on 5/6/2024 in #pages-help
Creating a cloudflare pages website using GO
I am trying to create a website and deploy it using cloudflare pages using GO.
I've managed getting into the build phase and it correctly builds the application and I assume that the binary gets to the specified path. After this the website is not accessible, it seems as if it does not know how to run the binary. How can I achieve this?
My build command in pages is: go build cmd/main.go build
My build output directory is: build
My GO code of the website is the following:
3 replies