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" } ],