Server for sharing documents over a LAN
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
554 B

2 years ago
root = "/path/to/documents/"
# The path to the direvtory containing the documents
title = "User-Visible Title"
# A user-visible title for the server (e.g. "School Documents" or "My Notes")
allowed_file_types = ["txt", "odt", "pdf", "md"]
# File types that LANdoc will serve; all other file types will result in 403
# Forbidden
# To disallow one of these file types, remove it; to allow another type, add
# its extension without the `.`
# `md` and `txt` files will be displayed in the LANdoc viewer; all other files
# will be sent as-is to the client