Skip to content

Commit 63d6149

Browse files
authored
chore(mailhog): Adapted url to standard for extensions (#79)
1 parent 3f055ec commit 63d6149

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

httpbin/setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = localstack-extension-httpbin
3-
version = 0.1.2
3+
version = 0.2.0
44
url = https://github.com/localstack/localstack-extensions/tree/main/httpbin
55
author = LocalStack
66
author_email = [email protected]

mailhog/mailhog/server.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class MailHogServer(Server):
2929
It supports snapshot persistence by pointing the MH_MAILDIR_PATH to the asset directory.
3030
"""
3131

32-
default_web_path = "mailhog"
32+
default_web_path = "_extension/mailhog"
3333
"""WebPath under which the UI is served (without leading or trailing slashes)"""
3434

3535
default_smtp_port = 25
@@ -76,7 +76,7 @@ def smtp_port(self) -> int:
7676
def web_path(self):
7777
"""Returns the configured path under which the web UI will be available when using path-based
7878
routing. This should be without trailing or prefixed slashes. by default, it results in
79-
http://localhost:4566/mailhog."""
79+
http://localhost:4566/_extension/mailhog."""
8080
return os.getenv("MH_UI_WEB_PATH") or self.default_web_path
8181

8282
def _create_env_vars(self) -> dict:

mailhog/setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = localstack-extension-mailhog
3-
version = 0.1.2
3+
version = 0.1.3
44
url = https://github.com/localstack/localstack-extensions/tree/main/mailhog
55
author = LocalStack
66
author_email = [email protected]

0 commit comments

Comments
 (0)