#how do i find my VITE_API_URL to connect my backend to my frontend running on vercel?

38 messages · Page 1 of 1 (latest)

cold basin
#

?

ionic craneBOT
#

Project ID: N/A

cold basin
#

N/A

#

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

grave meadow
#

This is community support and this question is not in any way related to Railway. So please be patient.

cold basin
#

??

#

WHAT RU TALKINT ABT

grave meadow
#

Is your backend on Railway and your front end on Vercel?

cold basin
#

im askign if u make vite_api_url to connect backend to frontend public

cold basin
#

all i need is the link to set up my .env varibale

grave meadow
#

Have you set that env var on vercel?

cold basin
#

i need the link

#

external access link

#

so i can set VITE_API_URL= external acess link

#

i cant find it in my deployment logs, or settings

#

i connected my account to vercel through settings but it never explicitly states that they install the enviroment variable into ur vercel

grave meadow
#

Have you successfully deployed your backend and generated a domain?

grave meadow
#

Then copy that domain and paste it in your Vercel frontend

#

🤔

cold basin
grave meadow
#

Seems right

cold basin
#

yea thats not a public internet link

grave meadow
#

You don't use that

#

You use the generated domain

cold basin
#

i cant find that

#

where is it in railway

grave meadow
#

Click the Service -> Settings -> Public Networking

#

Generate Domain button, point to port 8080 if it asks for a port

cold basin
#

thank you

grave meadow
#

Test it and lemme know if it works

cold basin
#

omg i kept navigating to the wrong settings im so dumb

#

its working ty

grave meadow
#

np

#

!s