adding proxy code

This commit is contained in:
2026-01-26 04:18:46 -06:00
parent 739d136209
commit 28bfa8c631
9 changed files with 53 additions and 0 deletions

11
proxy/views.py Normal file
View File

@@ -0,0 +1,11 @@
from django.shortcuts import render
from django.conf import settings
from django.http import Http404
def proxy_info(request):
if not getattr(settings, 'FEATURE_PLAYTEST_PROXY', False):
raise Http404("Proxy service is not available")
return render(request, 'proxy/info.html', {
'title': 'Proxy Service'
})