Your Name 3 年之前
父節點
當前提交
669129389d
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      choozmo/urlshorten/main.py

+ 6 - 0
choozmo/urlshorten/main.py

@@ -37,6 +37,12 @@ class kw_req(BaseModel):
     fullurl: str
     shorturl: str
 
+
+def check_exists():
+    foldername='/etc/nginx/url'
+    
+#/etc/nginx/url
+
 @app.post("/urldata")
 async def get_domain_by_keyword(req:kw_req):
     print(req)