diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-21 21:52:27 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-21 21:52:27 +0200 |
commit | fc995412d7a53993b7144b4b1f02045578c6a377 (patch) | |
tree | 969ffe3cf51c632cf87174eb53caf722453bdb95 /src/http.cc | |
parent | 6b8cec9fbe1b2656597ba321246ac608940ed980 (diff) |
Add markdown support to descriptions using the 'marked' js library for rendering.
Diffstat (limited to 'src/http.cc')
-rw-r--r-- | src/http.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http.cc b/src/http.cc index ffd7912..e184114 100644 --- a/src/http.cc +++ b/src/http.cc @@ -101,7 +101,8 @@ int callback_http(struct lws *wsi, if(file == "proto.js" || file == "handler.js" || file == "node.js" || - file == "view.js") + file == "view.js" || + file == "marked.min.js") { return serveFile(wsi, file,"text/javascript"); } |