From b97b635affe67c2c05ff2b1343ac6ada67c4f43b Mon Sep 17 00:00:00 2001 From: incubator4 Date: Tue, 2 Jan 2024 13:47:29 +0800 Subject: [PATCH] chore(deploy): update caddyfile --- deploy/validator/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/validator/app.py b/deploy/validator/app.py index 0aa3f48..4ec6bf3 100644 --- a/deploy/validator/app.py +++ b/deploy/validator/app.py @@ -10,7 +10,7 @@ def check_domain(): domain = request.args.get("domain") if not domain: return Response(status=404) - if domain.endswith(f'.{xlog_domain}') or domain == "xlog.page": + if domain.endswith(f'.{xlog_domain}') or domain == xlog_domain: return Response(status=200) # get TXT