Tincan
Explore posts from serversCDCloudflare Developers
•Created by Tincan on 4/10/2024 in #pages-help
service worker not being served on live (CF Pages) but is locally
6 replies
CDCloudflare Developers
•Created by Tincan on 3/6/2024 in #pages-help
Website domain stuck at verifying but subdomains working
I have a Pages project and I'm trying to add a domain to it. So the site has been added under Websites, but when I add this under Custom Domains in the Pages section it stays at verifying. It says 'Active' and 'data will be available here once available'
I have another existing domain, which I can added as a subdomain for this pages and that verifies fine eg aaa.website.com
4 replies
CDCloudflare Developers
•Created by Tincan on 7/20/2023 in #workers-help
How do I set the path to an image from a CF function?
I have a vue/nuxt project with files like this?
assets
-img
--logo.svg
functions
-cf
--contact.js
and in contact.js some html embed (to style an email). How do I include the logo.svg in the html/email?
htmlContent:
<html><head></head><body> <img src="url('~assets/img/logo.jpg" alt="site logo"> <h1>Heading</h1>
1 replies
CDCloudflare Developers
•Created by Tincan on 3/1/2023 in #workers-help
How to use env variables in a pages function locally and live (updated title)
Hi
I have a function in /functions/cf/check-password.js which contains basic and I'm trying to call it with and I'm getting 404. How do I call this function / file
using "npx wrangler pages dev -- yarn dev" to run locally
60 replies