Skip to content

Commit

Permalink
Tweak examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kojilin committed Sep 7, 2020
1 parent ecbee7f commit 4d45fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static Server newServer(int port) {
.examplePaths(PathPatternService.class,
"pathsVar",
"/pathPattern/paths/first/foo",
"/pathPattern/paths/second/foo")
"/pathPattern/paths/second/bar")
.examplePaths(PathPatternService.class,
"pathVar",
"/pathPattern/path/foo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static Server newServer(int httpPort, int httpsPort) throws Exception {
.https(httpsPort)
.tlsSelfSigned()
.service("/", thriftService)
.service("/prefix", thriftService)
.service("/second", thriftService)
// You can access the documentation service at http://127.0.0.1:8080/docs.
// See https://armeria.dev/docs/server-docservice for more information.
.serviceUnder("/docs",
Expand Down

0 comments on commit 4d45fe2

Please sign in to comment.