|
%!s(int64=5) %!d(string=hai) anos | |
---|---|---|
templates | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=6) %!d(string=hai) anos | |
app.py | %!s(int64=5) %!d(string=hai) anos | |
index.html | %!s(int64=5) %!d(string=hai) anos | |
requirements.txt | %!s(int64=6) %!d(string=hai) anos | |
secret.toml.template | %!s(int64=6) %!d(string=hai) anos |
Simple Flask app, exposes 2 endpoints
/
- Return the user list of the server as JSON of the form {users: ["foo", "bar"]}
/page
- A human-readable HTML page with the user list
Config goes in secret.toml
file, following the secret.toml.template
given
No guarantees for speed or safety are made