From 67b28d06b723dcba1e7f987fd4f3898fa5bcf9ce Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 22 Jun 2025 22:05:11 +0800 Subject: [PATCH] bugfix --- app/checklang.py | 2 +- conf/config.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/checklang.py b/app/checklang.py index 71a4d86..26ead17 100644 --- a/app/checklang.py +++ b/app/checklang.py @@ -5,7 +5,7 @@ from appPublic.registerfunction import RegisterFunction import fasttext -def docs(request): +def docs(request, *args, **kw): return """Check langage for text path: /v1/checklang method: POST diff --git a/conf/config.json b/conf/config.json index f59121c..aaa5d38 100755 --- a/conf/config.json +++ b/conf/config.json @@ -15,7 +15,7 @@ "leading":"/docs", "registerfunction":"docs" },{ - "leading":"/checklang", + "leading":"/v1/checklang", "registerfunction":"checklang" } ],