How to get site (TCPSite or UnixSite) inside route handler #5924
Unanswered
samthesuperhero
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody,
if I run one application, one runner, and set up two sites: on UnixSite and another TCPSite, how can I distinguish from which site the request is coming, from within request handler code?
Case is to allow specific (control) requests only coming from UnixSite. (Unix socket, obviously)
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions