diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | README.md | 14 |
2 files changed, 9 insertions, 8 deletions
@@ -20,8 +20,9 @@ x* news.json debug.txt -# Other versions +# Other versions and repositories old/* +assets # Ban files *-Line.txt @@ -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 |