From e62fd1548d82f22bd53e89fce3b0ee8abc42bcf8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 17 Feb 2024 19:31:58 +0800 Subject: [PATCH] bugfix --- ahserver/processorResource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index a625a94..52ef240 100755 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -389,7 +389,7 @@ class ProcessorResource(AppLogger, StaticResource,Url2File): prepath = f'/{prepath}' h = self.gethost(request) if url.startswith('/'): - return f'{scheme}://{h}:{port}{url}{prepath}' + return f'{scheme}://{h}:{port}{prepath}{url}' path = request.path if self.request_filename and os.path.isdir(self.request_filename): path = '%s/oops' % path