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
Since Vite/React cannot access Node's process.env, have to use another way to configure backend API in a way that the port can be shared with the frontend. This may also require moving the backend to ESM (#276) before being able to import from React.
@JamieSlome I have a basic patch for this but it does involve the use Vite environment variables via VITE_<customVar> in place of GIT_PROXY_UI_PORT. See below.
Via #379 , the React frontend is no longer able to load correctly. Upon visiting the Git Proxy UI, the following error is logged in the console:
Offending lines are the requires, attempting to reuse the same environment variable between the backend API and the UI.
Since Vite/React cannot access Node's
process.env
, have to use another way to configure backend API in a way that the port can be shared with the frontend. This may also require moving the backend to ESM (#276) before being able to import from React.@JamieSlome I have a basic patch for this but it does involve the use Vite environment variables via
VITE_<customVar>
in place ofGIT_PROXY_UI_PORT
. See below.The text was updated successfully, but these errors were encountered: