You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2024. It is now read-only.
right now all api calls are made to https://builtwithanalog.dev/api/projects which is the production endpoint
during development I am changing to http://localhost:5173/api/projects
Suggested solution
yes of course it will be more convenient to change the apiURL based on environment like I do for all other apps, has not been implemented over here yet
one option is to use vite const apiUrl = import.meta.env.VITE_API_URL;
Type of feature
✨ Feature
Current behavior
https://builtwithanalog.dev/api/projects
which is the production endpointhttp://localhost:5173/api/projects
Suggested solution
yes of course it will be more convenient to change the
apiURL
based on environment like I do for all other apps, has not been implemented over here yetconst apiUrl = import.meta.env.VITE_API_URL;
with
and
but doesn't have to be this option, will consider and get to it at some point
Additional context
vite docs
I would be willing to submit a PR to fix this issue
The text was updated successfully, but these errors were encountered: