Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tabby): fix swagger's local server use local port #458

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

hufeng
Copy link
Contributor

@hufeng hufeng commented Sep 18, 2023

 servers(
        (url = "https://playground.app.tabbyml.com", description = "Playground server"),
        (url = "http://localhost:8080", description = "Local server"),
    ),

The default is to use port 8080, but serve can customize the port through --port, resulting in request errors

@hufeng hufeng changed the title fixed: swagger's local server use local port fix(tabby): swagger's local server use local port Sep 18, 2023
@hufeng hufeng changed the title fix(tabby): swagger's local server use local port fix(tabby): fix swagger's local server use local port Sep 18, 2023
Copy link
Member

@wsxiaoys wsxiaoys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, one nit

crates/tabby/src/serve/mod.rs Outdated Show resolved Hide resolved
@wsxiaoys wsxiaoys enabled auto-merge (squash) September 19, 2023 04:18
@wsxiaoys wsxiaoys merged commit de3a227 into TabbyML:main Sep 19, 2023
4 checks passed
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