Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion supernote/cli/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def serve_run(args: argparse.Namespace) -> None:
# Set environment variables for the server process
os.environ["SUPERNOTE_EPHEMERAL"] = "true"
if not os.getenv("SUPERNOTE_PORT"):
os.environ["SUPERNOTE_PORT"] = "8080"
os.environ["SUPERNOTE_PORT"] = "8000"
if not os.getenv("SUPERNOTE_HOST"):
os.environ["SUPERNOTE_HOST"] = "127.0.0.1"
os.environ["SUPERNOTE_STORAGE_DIR"] = str(tmp_path)
Expand Down
4 changes: 2 additions & 2 deletions supernote/server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class ServerConfig(DataClassYAMLMixin):
Env Var: `SUPERNOTE_HOST`
"""

port: int = 8080
port: int = 8000
"""Port to bind the server to.

Env Var: `SUPERNOTE_PORT`
Expand All @@ -73,7 +73,7 @@ class ServerConfig(DataClassYAMLMixin):
"""

_base_url: str | None = field(default=None, metadata={"name": "base_url"})
"""Base URL for the main server (port 8080).
"""Base URL for the main server (port 8000).
Used for generating links and for the MCP Authorization Server issuer.
"""

Expand Down
Loading