initial commit:

This commit is contained in:
2026-06-10 21:05:51 -05:00
commit 7f09944bf5
7 changed files with 96 additions and 0 deletions

17
cdn.py Normal file
View File

@@ -0,0 +1,17 @@
import http.server
import socketserver
import functools
port = 9903
db = "db"
Handler = functools.partial(
http.server.SimpleHTTPRequestHandler,
directory=db
)
with socketserver.TCPServer(("", port), Handler) as httpd:
try:
httpd.serve_forever()
except KeyboardInterrupt:
httpd.server_close()