summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--README.md14
2 files changed, 9 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 74a7a2a..5ef7866 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,8 +20,9 @@ x*
news.json
debug.txt
-# Other versions
+# Other versions and repositories
old/*
+assets
# Ban files
*-Line.txt
diff --git a/README.md b/README.md
index 514b381..7420245 100644
--- a/README.md
+++ b/README.md
@@ -86,16 +86,16 @@ Client auto-updater is not provided, but is possible.
# The Update Server
The client will request images missing on it to the update server.
-Simply download it from the repository.
-Workflow is: First you use comp.py, and then, fixit.sh
+It should be served at 443 port of the main host, under the assets/ folder.
+HTTPS support is mandatory, but the certificate is not validated.
-After that, the Update Server is ready to be enabled, and you can do so by running
-`./server.py` on the relevant folder.
+The user token will also be sent as a GET parameter on every request. While the
+update server may safely ignore this parameter, verifying the token allows you to
+limit who can download the data to only authenticated users. The benefits of doing
+this are still not proven.
-Update Server should already be running when this server is running.
-Failure to do so might lead to infinite hangs on clients as they await for a reply.
-Caution doesn't hurt.
+If you use Apache or Nginx, remember to disable directory listing.
# Limitations