From 73347bfd93f103279e1002768e9fa8c419f6ae4e Mon Sep 17 00:00:00 2001 From: Anthony Donlon Date: Sat, 22 Nov 2025 00:56:17 +0800 Subject: [PATCH] editor/server: fix extraction location from cf ray --- editor/server/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/server/utils.py b/editor/server/utils.py index d2c0f9f..fc9f2ec 100644 --- a/editor/server/utils.py +++ b/editor/server/utils.py @@ -39,7 +39,7 @@ def fill_cf_template_params(params: dict): cf_status: dict = params.get('cloudflare_status', {}) if not cf_status.get('location'): - loc = get_cf_location() + loc = get_cf_location(ray_id_loc[-3:]) if loc: cf_status['location'] = loc