diff --git a/daemon.py b/daemon.py index 94507f008..41027c3ed 100644 --- a/daemon.py +++ b/daemon.py @@ -525,7 +525,7 @@ class PubServer(BaseHTTPRequestHandler): return False def _redirect_headers(self, redirect: str, cookie: str, - callingDomain: str, httpRedirect=False) -> None: + callingDomain: str, httpRedirect=True) -> None: if '://' not in redirect: print('REDIRECT ERROR: redirect is not an absolute url ' + redirect) diff --git a/epicyon.py b/epicyon.py index ec753c799..6082e5add 100644 --- a/epicyon.py +++ b/epicyon.py @@ -374,10 +374,8 @@ if args.testsnetwork: sys.exit() httpPrefix = 'https' -if args.http: +if args.http or args.i2p: httpPrefix = 'http' -if args.i2p: - httpPrefix = 'i2p' elif args.gnunet: httpPrefix = 'gnunet' @@ -1033,7 +1031,7 @@ if args.dat: if args.hyper: httpPrefix = 'hyper' if args.i2p: - httpPrefix = 'i2p' + httpPrefix = 'http' if args.actor: originalActor = args.actor @@ -1083,7 +1081,7 @@ if args.actor: port = 80 proxyType = 'tor' elif domain.endswith('.i2p'): - httpPrefix = 'i2p' + httpPrefix = 'http' port = 80 proxyType = 'i2p' elif args.gnunet: