Revision 46662ee6 snf-pithos-app/pithos/api/settings.py
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
189 | 189 |
OA2_CLIENT_CREDENTIALS = getattr(settings, 'PITHOS_OA2_CLIENT_CREDENTIALS', |
190 | 190 |
(None, None)) |
191 | 191 |
|
192 |
# Set to False to serve only views
|
|
192 |
# Set to False to disable serving object content serving endpoints
|
|
193 | 193 |
SERVE_API = getattr(settings, 'PITHOS_SERVE_API', True) |
194 |
|
|
195 |
# Set domain to restrict requests of pithos object contents serve endpoint or |
|
196 |
# None for no domain restriction |
|
197 |
SERVE_API_DOMAIN = getattr(settings, 'PITHOS_SERVE_API_DOMAIN', None) |
Also available in: Unified diff