We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41675b8 commit 8873138Copy full SHA for 8873138
XRPLib/webserver.py
@@ -54,11 +54,10 @@ def _index_page(self, request):
54
self._handleUserFunctionRequest(text)
55
return self._generateHTML()
56
57
+
58
def _wrong_host_redirect(self, request):
- # Captive portal redirects any other host request to self.DOMAIN
59
- body = "<!DOCTYPE html><head><meta http-equiv=\"refresh\" content=\"0;URL='http://"+self.DOMAIN+"'/ /></head>"
60
- logging.info("Redirecting to https://"+self.DOMAIN+"/")
61
- return body
+ # Catch all sends here. No special behavior really needed, just give them the control page
+ return self._generateHTML()
62
63
def _hotspot(self, request):
64
# Redirect to Index Page
0 commit comments