Przeglądaj źródła

fix upload link pointing to other app

Pi 8 miesięcy temu
rodzic
commit
e546b3b6a7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      rest/save.py

+ 1 - 1
rest/save.py

@@ -71,7 +71,7 @@ def save_upload(name: str, location: str, content: BufferedRandom, root='rest/st
 
     shutil.move(f'{tmpdir}/{unique.hex}', f'{directory}/{_b32}.file')
     save_filename(name, _b32, directory)
-    link = f'{location}/clip/{_b32}'
+    link = f'{location}/upload/{_b32}'
     svg = get_qr_code(link, fallback=link)
     save_qr(svg, _b32, directory)