Skip to content

Commit

Permalink
Update example URLs with trailing slashes (#184)
Browse files Browse the repository at this point in the history
Some browsers don't have redirects, so this is more accurate CC
@eyurtsev
  • Loading branch information
jacoblee93 authored Nov 8, 2023
1 parent 3db248f commit 2f8d046
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions langserve/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ def green(text):
print(LANGSERVE)
for path in paths:
print(
f'{green("LANGSERVE:")} Playground for chain "{path or "/"}" is live at:'
f'{green("LANGSERVE:")} Playground for chain "{path or ""}/" is live at:'
)
print(f'{green("LANGSERVE:")} β”‚')
print(f'{green("LANGSERVE:")} └──> {path}/playground')
print(f'{green("LANGSERVE:")} └──> {path}/playground/')
print(f'{green("LANGSERVE:")}')
print(f'{green("LANGSERVE:")} See all available routes at {app.docs_url}')
print(f'{green("LANGSERVE:")} See all available routes at {app.docs_url}/')
print()


Expand Down

0 comments on commit 2f8d046

Please sign in to comment.