This commit is contained in:
Athena Funderburg
2026-05-25 07:05:17 +00:00
commit 4b463a3432
682 changed files with 47796 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import settings
from aiohttp import web
def register(app: web.Application) -> None:
# http://myspace.com/html.ng/site=myspace&page=30000001&position=imbut&rand=9879
app.router.add_get('/html.ng/{tail:.*}', handle_client_advert)
async def handle_client_advert(request: web.Request) -> web.Response:
return web.HTTPFound(f'http://{settings.AD_HOST}y/ads/banner-sq')