fixes for better serving magosit.hu
This commit is contained in:
parent
bfe35a1c5b
commit
bf8f4a3f69
@ -646,8 +646,8 @@ def main():
|
||||
|
||||
os.chdir('build')
|
||||
handler = http.server.SimpleHTTPRequestHandler
|
||||
httpd = TCPServerV4(("", 9000), handler)
|
||||
print('Start server on http://localhost:9000')
|
||||
httpd = TCPServerV4(("", 8080), handler)
|
||||
print('Start server on http://localhost:8080')
|
||||
try:
|
||||
httpd.serve_forever()
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
|
||||
@ -8,7 +8,8 @@
|
||||
{% for gallery in galleries_line|reverse %}<!-- comment tricks against space between inline-block
|
||||
--><div class="gallery-square">
|
||||
<div class="subgaldiv">
|
||||
<a href="{{ gallery.link }}">
|
||||
{# The ending '/' is really needed here for uWebsockets serving these! #}
|
||||
<a href="{{ gallery.link }}/">
|
||||
<div class="gallery-title">
|
||||
<h2>{{ gallery.title }}</h2>
|
||||
{% if gallery.sub_title %}<h3>{{ gallery.sub_title }}</h3>{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user