all repos — nimhttpd @ 0908fb203a63a4bd9f1260cab2811d9031ffc7c8

A useful static file web server.

Minor fixes.
Fabio Cevasco fabio.cevasco@it.abb.com
Wed, 10 Nov 2021 12:39:13 +0100
commit

0908fb203a63a4bd9f1260cab2811d9031ffc7c8

parent

f9a5d7af2d375b4260d7b3c58d813faed94041c6

1 files changed, 1 insertions(+), 3 deletions(-)

jump to
M src/nimhttpd.nimsrc/nimhttpd.nim

@@ -6,8 +6,7 @@ os, strutils,

mimetypes, times, parseopt, - uri, - times + uri from httpcore import HttpMethod, HttpHeaders

@@ -71,7 +70,6 @@

proc h_page(settings:NimHttpSettings, content, title, subtitle: string): string = var footer = """<div id="footer">$1 v$2</div>""" % [settings.name, settings.version] - var titles = "" result = """ <!DOCTYPE html> <html lang="en">