lists: do not create user dir, done by smolcgi
This commit is contained in:
parent
d0154c4a40
commit
2a2c834886
4
lists
4
lists
|
@ -8,10 +8,6 @@ from pathlib import Path
|
||||||
import smolcgi as scgi
|
import smolcgi as scgi
|
||||||
scgi.require_client_cert()
|
scgi.require_client_cert()
|
||||||
|
|
||||||
STORAGE_PATH = Path("/home/gemini/storage/lists")
|
|
||||||
if not STORAGE_PATH.exists():
|
|
||||||
STORAGE_PATH.mkdir(parents=True)
|
|
||||||
|
|
||||||
ALLOWED_LIST_NAME_CHARS = string.ascii_lowercase + string.digits + "_"
|
ALLOWED_LIST_NAME_CHARS = string.ascii_lowercase + string.digits + "_"
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue