Need help with astro vite config not working on production

gjorgjimlPRO

3 months ago

working on local idk what is wrong can someone help
fb73241c-a555-4c20-bd4a-46ddb6d38435

Solved

0 Replies

gjorgjimlPRO

3 months 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


gjorgjimlPRO

3 months ago

this happen after npm update in local


gjorgjimlPRO

3 months ago

sub domains are working fine


3 months 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!


gjorgjimlPRO

3 months 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


3 months 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.


gjorgjimlPRO

3 months ago

Thank you


3 months ago

no problem!


3 months ago

!s


Status changed to Solved brody 3 months ago


Need help with astro vite config not working on production - Railway Help Station