mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 10:40:46 +08:00
Polish HeroUI chrome, topology toolbar, and session client IP.
Checkpoint before workbench facade redesign: list defaults, API key quota, toast portal, topology canvas editor toolbar with More menu, and trusted-proxy client IP for sessions. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
5096117ad4
commit
c4526e36d8
64 changed files with 6316 additions and 4521 deletions
|
|
@ -64,7 +64,9 @@ def _is_public(path: str) -> bool:
|
|||
|
||||
|
||||
def _client_ip(request: Request) -> str:
|
||||
return str(request.client.host if request.client else "")
|
||||
from .client_ip import resolve_client_ip
|
||||
|
||||
return resolve_client_ip(request)
|
||||
|
||||
|
||||
def _action_for(method: str, path: str) -> str:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue