Merge pull request #1 from waylonflinn/master

Add Support for Root Domain
This commit is contained in:
Hugo Peixoto 2016-11-30 16:05:06 +00:00 committed by GitHub
commit b3bc1a76b7
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ class Authenticator(common.Plugin):
return max(
(
zone for zone in r53.list_hosted_zones()["HostedZones"]
if (domain+".").endswith("."+zone["Name"])
if (domain+".").endswith("."+zone["Name"]) or (domain+".") == (zone["Name"])
),
key=lambda zone: len(zone["Name"]),
)

View file

@ -3,7 +3,7 @@ import sys
from distutils.core import setup
from setuptools import find_packages
version = '0.1.4'
version = '0.1.5'
install_requires = [
'acme>=0.9.0.dev0',