瀏覽代碼

svg 첨부

잉여개발기 1 年之前
父節點
當前提交
3c7d74133c
共有 4 個文件被更改,包括 2 次插入3 次删除
  1. 0 1
      .gitignore
  2. 1 1
      app.py
  3. 0 1
      route/tool/func.py
  4. 1 0
      views/main_css/file/icon/thumbs-up.svg

+ 0 - 1
.gitignore

@@ -19,7 +19,6 @@ goorm.manifest
 *.db-shm
 *.db-wal
 *.db-journal
-file
 
 robots.txt
 custom.py

+ 1 - 1
app.py

@@ -974,7 +974,7 @@ app.wsgi_app = ProxyFix(app.wsgi_app, x_for = 1, x_proto = 1)
 
 if __name__ == "__main__":
     if run_mode in ('dev'):
-        app.run(host = server_set['host'], port = int(server_set['port']))
+        app.run(host = server_set['host'], port = int(server_set['port']), use_reloader = False)
     else:
         config = Config()
         config.bind = [server_set['host'] + ":" + server_set['port']]

+ 0 - 1
route/tool/func.py

@@ -1289,7 +1289,6 @@ async def wiki_set():
     other_set = {}
 
     data = await python_to_golang('api_func_wiki_set', other_set)
-    print(data)
 
     return data["data"]
 

+ 1 - 0
views/main_css/file/icon/thumbs-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="gray" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up"><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg>