mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-05-27 22:59:49 +00:00
init
This commit is contained in:
@@ -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')
|
||||
Reference in New Issue
Block a user