Skip to content

Commit d560900

Browse files
committed
revert accidental removal of code branch
1 parent 4f82185 commit d560900

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mystbin/http.py

+3
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,9 @@ def __init__(self, *, session: aiohttp.ClientSession | None = None, api_base: st
150150
def _resolve_api(self, api_base: str | None, /) -> None:
151151
if api_base:
152152
Route.API_BASE = f"https://{api_base}/api"
153+
self.api_base = Route.API_BASE
154+
else:
155+
self.api_base = "https://mystb.in/api"
153156

154157
async def close(self) -> None:
155158
if self._session and self._owns_session:

0 commit comments

Comments
 (0)