Skip to content

Commit

Permalink
revert accidental removal of code branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AbstractUmbra committed Dec 28, 2024
1 parent 4f82185 commit d560900
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mystbin/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ def __init__(self, *, session: aiohttp.ClientSession | None = None, api_base: st
def _resolve_api(self, api_base: str | None, /) -> None:
if api_base:
Route.API_BASE = f"https://{api_base}/api"
self.api_base = Route.API_BASE
else:
self.api_base = "https://mystb.in/api"

async def close(self) -> None:
if self._session and self._owns_session:
Expand Down

0 comments on commit d560900

Please sign in to comment.