[GH-ISSUE #25] 404 to api while using webroot #23

Closed
opened 2026-03-15 12:09:13 +03:00 by kerem · 3 comments
Owner

Originally created by @macau23 on GitHub (Dec 7, 2022).
Original GitHub issue: https://github.com/axllent/mailpit/issues/25

I am launching mailpit with --webroot mailpit but I get a 404 in the UI. The URL returning the 404 is:
http://somehost:8025/mailpit/api/v1/messages?limit=50

Without --webroot the URL is:
http://somehost:8025/api/v1/messages?limit=50
and this works.

Originally created by @macau23 on GitHub (Dec 7, 2022). Original GitHub issue: https://github.com/axllent/mailpit/issues/25 I am launching mailpit with --webroot mailpit but I get a 404 in the UI. The URL returning the 404 is: `http://somehost:8025/mailpit/api/v1/messages?limit=50` Without --webroot the URL is: `http://somehost:8025/api/v1/messages?limit=50` and this works.
kerem closed this issue 2026-03-15 12:09:18 +03:00
Author
Owner

@macau23 commented on GitHub (Dec 7, 2022):

Version v1.3.0

<!-- gh-comment-id:1340616072 --> @macau23 commented on GitHub (Dec 7, 2022): Version v1.3.0
Author
Owner

@macau23 commented on GitHub (Dec 7, 2022):

Works in v1.2.7, seems to have broken in v1.2.8

<!-- gh-comment-id:1340697184 --> @macau23 commented on GitHub (Dec 7, 2022): Works in v1.2.7, seems to have broken in v1.2.8
Author
Owner

@axllent commented on GitHub (Dec 7, 2022):

@macau23 Thanks for the bug report. This fix will be included in the next release later today.

<!-- gh-comment-id:1341595379 --> @axllent commented on GitHub (Dec 7, 2022): @macau23 Thanks for the bug report. This fix will be included in the next release later today.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mailpit#23
No description provided.