diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-08-22 05:23:24 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-09-05 11:08:46 -0300 |
commit | c8c742cb981cbe4087a7863ebc3d2a8e3dd93f25 (patch) | |
tree | dfc0fbec7de3c97368e81299bf5216c62cef42a3 /src/leap/soledad/server/_resource.py | |
parent | 9f4739c4ce468110fe070c766260770bb4d669a2 (diff) |
[feature] add a local realm with file auth checker
-- Related: #8867
Diffstat (limited to 'src/leap/soledad/server/_resource.py')
-rw-r--r-- | src/leap/soledad/server/_resource.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/leap/soledad/server/_resource.py b/src/leap/soledad/server/_resource.py index 28344b38..e4c51ded 100644 --- a/src/leap/soledad/server/_resource.py +++ b/src/leap/soledad/server/_resource.py @@ -50,6 +50,15 @@ class SoledadAnonResource(Resource): self.putChild('robots.txt', _Robots()) +class LocalResource(Resource): + """ + Used for localhost endpoints, like IncomingBox delivery. + """ + + def __init__(conf): + pass + + class SoledadResource(Resource): """ This is a dummy twisted resource, used only to allow different entry points |