is there a way stop vite client from re-connecting to the server?

the client keeps logging GET http://127.0.0.1:3000/ net::ERR_CONNECTION_REFUSED they have nothing on their site. should I just modify client.ts?
4 Replies
Samathingamajig
Samathingamajig•3y ago
is the server on?
venego
venegoOP•3y ago
that's the thing I want it to stop reaching for the server. when it's off
Samathingamajig
Samathingamajig•3y ago
well nextauth polls for auth i believe and trpc, by default, refetches on tab focus how would your frontend know when you backend turns on again? wait you say "vite client", so what are you using? like what kind of libraries do you have and/or what template did you use
venego
venegoOP•3y ago
I refresh 🙂 oh I'm talking about vite as the core of it. only talking about the config file.
Want results from more Discord servers?
Add your server