Skip to content

Comments

Server path prefix#86

Merged
sagikazarmark merged 2 commits intomasterfrom
server-path-prefix
Nov 2, 2021
Merged

Server path prefix#86
sagikazarmark merged 2 commits intomasterfrom
server-path-prefix

Conversation

@sagikazarmark
Copy link
Member

Overview

Add support for server path prefix.

What this PR does / why we need it

As of the v7 spec, Twirp allows changing the URL prefix applied to each service.

The client already supported changing the prefix. This PR adds support for changing the prefix on the server side.

Special notes for your reviewer

Does this PR introduce a user-facing change?

- Consumers should now use `getPathPrefix()` instead of `PATH_PREFIX` constants

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant