Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blocked request. This host ("app") is not allowed. #19425

Closed
7 tasks done
MariuzM opened this issue Feb 14, 2025 · 0 comments
Closed
7 tasks done

Blocked request. This host ("app") is not allowed. #19425

MariuzM opened this issue Feb 14, 2025 · 0 comments

Comments

@MariuzM
Copy link

MariuzM commented Feb 14, 2025

Describe the bug

I updated Vite to latest now I'm starting to have this, then i downgraded but still same thing, what is happening?

Blocked request. This host ("app") is not allowed.
To allow this host, add "app" to preview.allowedHosts in vite.config.js.

I use Railway as hosting and i have no idea how to fix this?

Reproduction

https://github.com/MariuzM/frameworks/tree/main/react-tsr

Steps to reproduce

No response

System Info

System:
    OS: macOS 14.7.2
    CPU: (10) arm64 Apple M1 Max
    Memory: 24.44 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/dev/node-v20.17.0/bin/node
    Yarn: 1.22.22 - ~/dev/node-v20.17.0/bin/yarn
    npm: 10.8.2 - ~/dev/node-v20.17.0/bin/npm
    pnpm: 9.12.2 - ~/Library/pnpm/pnpm
    bun: 1.2.2 - ~/.bun/bin/bun
  Browsers:
    Brave Browser: 133.1.75.175
    Chrome: 130.0.6723.70
    Safari: 18.2

Used Package Manager

bun

Logs

No response

Validations

@vitejs vitejs locked and limited conversation to collaborators Feb 14, 2025
@sapphi-red sapphi-red converted this issue into discussion #19426 Feb 14, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant