swecc-uw / swecc-client

Client for SWECC's mock interview, mentorship and other services.
https://interview.swecc.org
0 stars 3 forks source link

added command for EZ development #27

Closed elimelt closed 3 months ago

elimelt commented 3 months ago

Author: Elijah

What changes were made?

Dynamic api url. npm run prod to connect to prod, and npm run dev to connect to local

Why are these changes important/necessary?

Shut up

ShawnCollinge commented 3 months ago

Can you update the README as well?

ShawnCollinge commented 3 months ago

Per our discussion on discord because of CORS npm run prod won't actually work locally. I think we should still make that update with the url though to check if prod or not for connecting to the backend. If you want to just remove the npm run prod command but leave the rest that would be awesome (also revert the README).

ShawnCollinge commented 3 months ago

Change was made in most recent PR