annother hexxo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-12 01:43:59 +10:00
parent 38d9e1443f
commit 1016d11ae2
2 changed files with 15 additions and 7 deletions

9
app.py
View File

@ -4,10 +4,10 @@ from todo import todos
from boards import board_list
from threads import threads_lists
from threads_with_posts import open_threads
from arango import ArangoClient
import socket
app = Flask(__name__)
assets = Environment(app)
@ -24,6 +24,13 @@ js.build()
arango_client = ArangoClient(hosts='http://localhost:8529')
db = arango_client.db('board1', username='root', password='rootpassword')
boards = db.collection('boards')
@app.route('/liveness')
def healthx():
return "<h1><center>Liveness check completed</center><h1>"

View File

@ -55,18 +55,19 @@
<img src="https://static.vdk2ch.ru/thread-pics/{{pic}}" alt="954x960" id="img-15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" class="post__file-preview " data-type="2" data-title="image.png" data-width="954" data-height="960" data-md5="15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" data-src="https://static.vdk2ch.ru/thread-pics/{{pic}}" width="168" height="170">
</a>
</figure>
<div class="hex">
<div class="hex-background">
<img src="https://static.vdk2ch.ru/thread-pics/{{pic}}" alt="954x960" id="img-15135655-d39bd5b1ed6c40e9a1d1eb2971a57584">
</div>
</div>
{% endfor %}
</div>
<article id="m15135655" class="post__message ">
<a href="/news/res/15135633.html#15135633" class="post-reply-link" data-thread="15135633" data-num="15135633">&gt;&gt;15135633 (OP)</a><br>
<div class="hex">
<div class="hex-background">
<img src="https://static.vdk2ch.ru/thread-pics/{{pic}}" alt="954x960" id="img-15135655-d39bd5b1ed6c40e9a1d1eb2971a57584">
</div>
</div>
{% for pic in thread.pic_links %}
<svg class="post__file-preview " data-width="954" data-height="960" data-type="2" data-md5="15135655-d39bd5b1ed6c40e9a1d1eb2971a57584" data-title="image.png" viewBox="0 0 100 100" data-src="https://static.vdk2ch.ru/thread-pics/{{pic}}" width="168" height="170" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>