Looking for a Trigger/Routes/Add a route link
I am using the Cloudflare.
I deployed the project on the Cloudflare. But I didnt display on it. I had get the blank page.
So I have to set the text/html to application/javascript on the router.
So I am looking for a Trigger tab, But I cant find the Trigger tab anywhere on the Cloudflare.
Where is it?
Could you help me, everyone?
6 Replies
If it's a worker, it's under Settings -> Triggers
Magic Link: https://dash.cloudflare.com/?to=/:account/workers/services/view/:worker/production/settings/triggers
I cant find the Triggers in the Settings tab
Are you sure what you have is a Worker and not a Pages Project?
Do you see the "Custom Domains" tab of your project? Or, could you give a screenshot of what you to see?
oh I just saw your screenshot on the forums
copy pasting my response:
That is a Pages Application which uses Custom Domains/takes over entire hostnames, not a Worker/using routes. You see that Custom Domains tab? That’s how you would add a hostname to your Pages Project.
Thank you for your help
I created the worker and then I am going to integrate my project and router
Do you know how to integrate with them?
Because when I deploy the Strapi backend project on the Cloudflare, I have got the message
Refused to execute script from 'https://strapi-backend.pages.dev/main.bdf5055f.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
So I am going to make the worker and integrate with my project