Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ for example, with ``IMAP_DATA_DIR=/data``:
To change the default URL that the package accesses, you can set
the environment variable ``IMAP_DATA_ACCESS_URL`` or within the
package ``imap_data_access.config["DATA_ACCESS_URL"]``. The default
is the development server ``https://api.dev.imap-mission.com``.
is the production server ``https://api.imap-mission.com``.

## Troubleshooting

Expand Down
2 changes: 1 addition & 1 deletion imap_data_access/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

config = {
"DATA_ACCESS_URL": os.getenv("IMAP_DATA_ACCESS_URL")
or "https://api.dev.imap-mission.com",
or "https://api.imap-mission.com",
"DATA_DIR": Path(os.getenv("IMAP_DATA_DIR") or Path.cwd() / "data"),
"API_KEY": os.getenv("IMAP_API_KEY"),
# Create a base64 encoded string for the username and password
Expand Down
2 changes: 1 addition & 1 deletion tests/test_config_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
("config_var", "default", "expected"),
[
("DATA_DIR", Path.cwd() / "data", str(Path("/test/path"))),
("DATA_ACCESS_URL", "https://api.dev.imap-mission.com", "https://test.url"),
("DATA_ACCESS_URL", "https://api.imap-mission.com", "https://test.url"),
("API_KEY", None, "test-api-key"),
],
)
Expand Down
Loading