fix: more precise match for xlog.app

This commit is contained in:
sljeff 2022-08-18 16:32:25 +08:00
parent 1376786cf3
commit d4d3704028
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ data:
domain = request.args.get("domain")
if not domain:
return Response(status=404)
if domain.endswith('xlog.app'):
if domain.endswith('.xlog.app') or domain == "xlog.app":
return Response(status=200)
# get TXT