generated from nathanwoodburn/python-webserver-template
Compare commits
1 Commits
3d5d203831
...
feat/gemin
| Author | SHA1 | Date | |
|---|---|---|---|
|
f70454c9a4
|
@@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM python:3.13-alpine
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
|
||||
# Install curl for healthcheck
|
||||
RUN apk add --no-cache curl
|
||||
RUN apk add --no-cache curl openssl
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
2
tools.py
2
tools.py
@@ -161,7 +161,7 @@ def hip2(domain: str) -> str | None:
|
||||
# Catch all exceptions
|
||||
except Exception as e:
|
||||
print(f"Hip2: Lookup failed with error: {e}", flush=True)
|
||||
return "Hip2: Lookup failed."
|
||||
return
|
||||
|
||||
|
||||
def wallet_txt(domain: str, doh_url="https://au.hnsdoh.com/dns-query") -> str | None:
|
||||
|
||||
Reference in New Issue
Block a user