mirror of
https://github.com/plankanban/planka.git
synced 2026-02-05 00:39:58 +03:00
Development Server api issue #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Unkn0wn-MDCLXIV on GitHub (May 4, 2020).
When I clone the repository on my server and try to access the client via the servers' ip from a different machine on the network, the api requests are sent to localhost:1337 instead of the servers' ip.
I cannot get past the login page. It says it cannot connect to the server, because localhost obviously is not running the server.
@meltyshev commented on GitHub (May 6, 2020):
To run the development server on different IP or port you need to specify two environment variables with the same value:
BASE_URLandREACT_APP_SERVER_BASE_URL. You can changeBASE_URLin the.envfile inside server folder, then create.envfile in the client folder and placeREACT_APP_SERVER_BASE_URLthere. Or just simply run it without any changes by:BASE_URL=http://<server’s IP> REACT_APP_SERVER_BASE_URL=http://<server’s IP> npm start. I should add this somewhere to the documentation.@wahshibinharb commented on GitHub (May 9, 2022):
I did it and i get this.. any idea ?