diff --git a/claude-dev/Dockerfile.base b/claude-dev/Dockerfile.base index 8bf218a..a4e183e 100644 --- a/claude-dev/Dockerfile.base +++ b/claude-dev/Dockerfile.base @@ -50,6 +50,8 @@ replacements = [ (b"https://claude.ai", b"http://localhost:4008"), (b"api.anthropic.com", b"localhost:4008"), (b"platform.claude.com", b"localhost:4008"), + (b"claude.ai", b"localhost:4008"), + (b"anthropic.com", b"localhost:4008"), ] total = 0 for old, new in replacements: @@ -58,6 +60,7 @@ for old, new in replacements: d = d.replace(old, new) total += c d = d.replace(b"https://localhost:4008", b"http://localhost:4008") +d = d.replace(b"http://localhost:4008:4008", b"http://localhost:4008") with open(path, "wb") as f: f.write(d)