summaryrefslogtreecommitdiff
path: root/embed.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'embed.cgi')
-rwxr-xr-xembed.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.cgi b/embed.cgi
index 18db820..38f7577 100755
--- a/embed.cgi
+++ b/embed.cgi
@@ -37,7 +37,7 @@ if __name__ == "__main__":
rf = getenv("HTTP_REFERER",None)
if rf is not None:
our_hn = urlparse(rf).hostname
- if our_hn != correct_hn:
+ if our_hn != correct_hn and our_hn != "george.gh0.pw":
print()
print('<h1 style="color: red">no</h1><p>bad referer hostname</p>')
sys.exit(0)