Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

pja

About

Username
pja
Location
Cambridge
Joined
Visits
60
Last Active
Roles
Member, Private
Your Name
Paul Austen
Company Name
CWS
Thanked
0

Comments

  • Nope, and when I it compiled fine. Thanks for your advice. Paul
  • Great, that did the trick, Thanks for your help. Paul
  • I solved the problem described as follows (not sure why the code quote does not show this all as code) mgos_register_http_endpoint("/", root_handler, NULL); ` /** * @brief Convert from mg_str struct to C string (null terminated). * …
  • In order to serve different html files when the root (/ or index.html) is requested from the web server I tried adding a event handler mgos_register_http_endpoint("/", root_handler, NULL); With a handler as detailed below ` The event handler cod…