reflex/scripts
Masen Furer 438b31f270
[ENG-4005] Proxy backend requests on '/' to the frontend (#3300)
* Proxy backend requests on '/' to the frontend

If the optional extra `proxy` is installed, then the backend can handle all
requests by proxy unrecognized routes to the frontend nextjs server.

* Update lock file

* pre-commit fu

* AppHarness: set config frontend_port and backend_port

* integration: frontend port and backend port should return the same content

with proxying enabled by default in dev mode, both frontend and backend ports
on / should return the same content.

* Retry up to 100 times when proxying to frontend

* Reduce retry attempts to 25

Fix log level passing to subprocess

* scripts/wait_for_listening_port: primarily check HTTP responses

if the port is up or not, we don't really care... the HTTP request needs to
work and not return errors

* aiohttp is an optional dep

* adapt integration.sh for --backend-only (counter integration test)

* woops

* windows WTF?

* scratching my head 🎄

* double WTF windows

* Fix remaining integration tests
2025-01-03 15:50:38 -08:00
..
bun_install.sh Change bun link (#4162) 2024-10-11 15:43:54 -07:00
darglint_test.bat Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
install.ps1 Windows Pin Bun version (#3192) 2024-05-01 14:47:03 -07:00
integration.sh [ENG-4005] Proxy backend requests on '/' to the frontend (#3300) 2025-01-03 15:50:38 -08:00
make_pyi.py pyi_generator cleanup: ruff, remove fully qualified reflex. names (#3591) 2024-06-29 08:48:01 -07:00
wait_for_listening_port.py [ENG-4005] Proxy backend requests on '/' to the frontend (#3300) 2025-01-03 15:50:38 -08:00