Skip to content

Fix render route with custom public path - #339

Open
tmkx wants to merge 1 commit into
temporalio:mainfrom
tmkx:fix/public-path
Open

tmkx wants to merge 1 commit into
temporalio:mainfrom
tmkx:fix/public-path

Conversation

@tmkx

@tmkx tmkx commented Sep 15, 2026

Copy link
Copy Markdown

What was changed

Register the endpoint at the rewritten /render path and add a regression test covering requests under a custom public path.

Why?

The PublicPath middleware strips the configured prefix before Echo performs route matching. Registering the render endpoint with that prefix therefore made the route unreachable and caused embedded Markdown, such as Temporal News, to return 404.

The PublicPath middleware strips the configured prefix before Echo performs
route matching. Registering the render endpoint with that prefix therefore
made the route unreachable and caused embedded Markdown, such as Temporal
News, to return 404.

Register the endpoint at the rewritten /render path and add a regression test
covering requests under a custom public path.
@tmkx
tmkx requested a review from a team as a code owner September 15, 2026 18:16
@CLAassistant

CLAassistant commented Sep 15, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants