Skip to content

Cloudflared "blocked request" in TutorialΒ #330

@Ferretsroq

Description

@Ferretsroq

In Step Four of the tutorial we are supposed to run the demo activity in discord. However, when I do this, I get the following error message in discord, as black text on a black background:

Blocked request. This host ("accordance-carried-norfolk-scholarship.trycloudflare.com") is not allowed.
To allow this host, add "accordance-carried-norfolk-scholarship.trycloudflare.com" to `server.allowedHosts` in vite.config.js.

There's nothing in the tutorial about touching that config file, and I thought that's what the URL Mappings were for anyway. I can make it work by adding the allowed host, but changing that every time a new tunnel is made and duplicating that in the url mappings seems strange.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions