revoltchat / backend

Monorepo for Revolt backend services.
https://developers.revolt.chat/api/
Other
1.23k stars 140 forks source link

bug: in README.md, revite dev start step is incorrect if run in Windows' cmd #373

Open zhapich opened 1 month ago

zhapich commented 1 month ago

What happened?

The relevant line is:

echo "VITE_API_URL=http://local.revolt.chat:14702" > .env.local

When run in cmd, this ends up writing the string into the file with literal quotes around it. revite, then, fails to fetch this value and defaults to Revolt's canonical instance from the .env file, AFAICT.

The tell that something is wrong was that I got a captcha challenge when I tried to register a test account on what was supposed to be a local instance, haha.