aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app.py14
-rwxr-xr-xstatic/images/Thumbs.dbbin0 -> 10240 bytes
-rwxr-xr-xstatic/images/icons.pngbin0 -> 46132 bytes
-rwxr-xr-xstatic/images/newdiscord.jpgbin0 -> 56309 bytes
-rwxr-xr-xstatic/images/random.jpgbin238653 -> 169006 bytes
-rw-r--r--static/index.md1
6 files changed, 1 insertions, 14 deletions
diff --git a/app.py b/app.py
index ea1a2be..13431f7 100644
--- a/app.py
+++ b/app.py
@@ -162,20 +162,6 @@ def serve_random():
localimg = "/img/random.jpg?seed=%i" % random.randint(0, 9999)
)
-@app.route("/api/<infoRequest>")
-def serve_api_request(infoRequest):
- if infoRequest == "commits":
- try:
- return flask.jsonify(services.request_recent_commits(since = datetime.datetime.fromtimestamp(int(flask.request.args['since']))))
- except (ValueError, KeyError):
- flask.abort(400)
- elif infoRequest == "tweets":
- try:
- return flask.jsonify(services.request_recent_tweets(int(flask.request.args['toGet'])))
- except (ValueError, KeyError):
- flask.abort(400)
- else:
- flask.abort(404)
@app.route("/preview")
def preview():
diff --git a/static/images/Thumbs.db b/static/images/Thumbs.db
new file mode 100755
index 0000000..4311b3b
--- /dev/null
+++ b/static/images/Thumbs.db
Binary files differ
diff --git a/static/images/icons.png b/static/images/icons.png
new file mode 100755
index 0000000..4f19e72
--- /dev/null
+++ b/static/images/icons.png
Binary files differ
diff --git a/static/images/newdiscord.jpg b/static/images/newdiscord.jpg
new file mode 100755
index 0000000..d446602
--- /dev/null
+++ b/static/images/newdiscord.jpg
Binary files differ
diff --git a/static/images/random.jpg b/static/images/random.jpg
index 71612f3..fe9b86f 100755
--- a/static/images/random.jpg
+++ b/static/images/random.jpg
Binary files differ
diff --git a/static/index.md b/static/index.md
index ddf9ce9..1c7e3e9 100644
--- a/static/index.md
+++ b/static/index.md
@@ -9,3 +9,4 @@ i'll post my thoughts on here sometimes, and use this site to link to other stuf
- [invidious - youtube alternative](https://invidious.eda.gay)
- [nitter - alternative twitter frontend](https://nitter.eda.gay)
- [gitea - github alternative](https://git.eda.gay/)
+- [bibliogram - less annoying instagram front end](https://bibliogram.eda.gay/applysettings/c8009ec7533d542a90bb1d41563435c1)