fix: redirection issues and instance validation changes
This commit is contained in:
parent
0ad8bf7664
commit
2ef3c06da0
14 changed files with 170 additions and 54 deletions
|
|
@ -38,6 +38,8 @@ class InstanceEndpoint(BaseAPIView):
|
|||
@cache_response(60 * 60 * 2, user=False)
|
||||
def get(self, request):
|
||||
instance = Instance.objects.first()
|
||||
|
||||
print("Instance: ", instance)
|
||||
# get the instance
|
||||
if instance is None:
|
||||
return Response(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue