We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ebc6f1 commit 4e8ef57Copy full SHA for 4e8ef57
config.py
@@ -1,6 +1,7 @@
1
# Default URL of the validator itself... feel free to beautify as you like
2
import os
3
-HOMEURL = 'http://' + os.environ['HTTP_HOST'] + os.environ['SCRIPT_NAME']
+HOMEURL = os.environ['HTTP_HOST'] + os.environ['SCRIPT_NAME']
4
+if not HOMEURL.startswith('http://'): HOMEURL = 'http://' + HOMEURL
5
6
# This is where the CGI itself is... other supporting scripts (like
7
# feedfinder) may be placed here.
0 commit comments