Need help with astro vite config not working on production
gjorgjiml
PROOP

9 months ago

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

Solved

0 Replies

gjorgjiml
PROOP

9 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


gjorgjiml
PROOP

9 months ago

this happen after npm update in local


gjorgjiml
PROOP

9 months ago

sub domains are working fine


brody
EMPLOYEE

9 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!


gjorgjiml
PROOP

9 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


brody
EMPLOYEE

9 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.


gjorgjiml
PROOP

9 months ago

Thank you


brody
EMPLOYEE

9 months ago

no problem!


brody
EMPLOYEE

9 months ago

!s


Status changed to Solved brody 9 months ago


Loading...