Skip to content

Commit

Permalink
Update European cdproxy rules
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorhobenshield committed Jan 13, 2024
1 parent 0614e1c commit 685c965
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amazon_photos/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__title__ = "amazon-photos"
__description__ = "Amazon Photos API"
__version__ = "0.0.96"
__version__ = "0.0.97"
__author__ = "Trevor Hobenshield"
__license__ = "MIT"
2 changes: 1 addition & 1 deletion amazon_photos/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def determine_cdproxy(self, override: str = None):
if self.tld in NORTH_AMERICA_TLD_MAP:
return 'https://content-na.drive.amazonaws.com/cdproxy/nodes'
elif self.tld in EUROPEAN_TLD_MAP:
return f'https://content-eu.drive.amazonaws.{self.tld}/cdproxy/nodes'
return f'https://content-eu.drive.amazonaws.com/cdproxy/nodes'

async def process(self, fns: Generator, max_connections: int = None, **kwargs):
"""
Expand Down

0 comments on commit 685c965

Please sign in to comment.