Skip to content

Commit a958ff4

Browse files
committed
ENH: Update to use the production url by default!
1 parent f1d7917 commit a958ff4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

imap_data_access/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
config = {
5757
"DATA_ACCESS_URL": os.getenv("IMAP_DATA_ACCESS_URL")
58-
or "https://api.dev.imap-mission.com",
58+
or "https://api.imap-mission.com",
5959
"DATA_DIR": Path(os.getenv("IMAP_DATA_DIR") or Path.cwd() / "data"),
6060
"API_KEY": os.getenv("IMAP_API_KEY"),
6161
# Create a base64 encoded string for the username and password

tests/test_config_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
("config_var", "default", "expected"),
1515
[
1616
("DATA_DIR", Path.cwd() / "data", str(Path("/test/path"))),
17-
("DATA_ACCESS_URL", "https://api.dev.imap-mission.com", "https://test.url"),
17+
("DATA_ACCESS_URL", "https://api.imap-mission.com", "https://test.url"),
1818
("API_KEY", None, "test-api-key"),
1919
],
2020
)

0 commit comments

Comments
 (0)