Need help with astro vite config not working on production

2 years ago

working on local idk what is wrong can someone help

fb73241c-a555-4c20-bd4a-46ddb6d38435

Solved

9 Replies

2 years ago

Blocked request. This host ("logicna-podloga.com") is not allowed.

To allow this host, add "logicna-podloga.com" to preview.allowedHosts in vite.config.js.

how to fix this issue anyone know in astro framework


2 years ago

this happen after npm update in local


2 years ago

sub domains are working fine


2 years ago

hello, i removed your hardcoded build and start commands and then switched your build over to Railpack since it has better support for Astro apps, and it looks to be online!


2 years ago

can you tell me in details what you removed so i can know for the future if i have this kind of a issue


2 years ago

  1. I removed your build, pre-deploy, and start commands from within the service settings.
  2. I switched the builder to Railpack, in the service settings.

2 years ago

Thank you


2 years ago

no problem!


2 years ago

!s


Status changed to Solved brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...