diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2021-04-14 17:03:25 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2021-04-14 17:03:25 +0100 |
commit | 097ad33a05a3089dd6e684a494e6f61ab539d56c (patch) | |
tree | c73e5f0b6c48096660f8824d07ca3e6216bf2218 | |
parent | a4d161ae087dfdcb15899d72d4bdbb0376bb00a2 (diff) | |
download | boymoder.blog-097ad33a05a3089dd6e684a494e6f61ab539d56c.tar.gz boymoder.blog-097ad33a05a3089dd6e684a494e6f61ab539d56c.zip |
removed API function
-rw-r--r-- | app.py | 14 | ||||
-rwxr-xr-x | static/images/Thumbs.db | bin | 0 -> 10240 bytes | |||
-rwxr-xr-x | static/images/icons.png | bin | 0 -> 46132 bytes | |||
-rwxr-xr-x | static/images/newdiscord.jpg | bin | 0 -> 56309 bytes | |||
-rwxr-xr-x | static/images/random.jpg | bin | 238653 -> 169006 bytes | |||
-rw-r--r-- | static/index.md | 1 |
6 files changed, 1 insertions, 14 deletions
@@ -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 Binary files differnew file mode 100755 index 0000000..4311b3b --- /dev/null +++ b/static/images/Thumbs.db diff --git a/static/images/icons.png b/static/images/icons.png Binary files differnew file mode 100755 index 0000000..4f19e72 --- /dev/null +++ b/static/images/icons.png diff --git a/static/images/newdiscord.jpg b/static/images/newdiscord.jpg Binary files differnew file mode 100755 index 0000000..d446602 --- /dev/null +++ b/static/images/newdiscord.jpg diff --git a/static/images/random.jpg b/static/images/random.jpg Binary files differindex 71612f3..fe9b86f 100755 --- a/static/images/random.jpg +++ b/static/images/random.jpg 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) |