I don't want to use any templating engine, or if I have to I'd prefer handlebars. The docs say that the default template extension is html, but if I remove that { map: { html: 'swig' }} I just get 500 errors. I've tried passing in { map: { html: 'html' }}, removing map and passing in default: 'html', just passing in an empty object, and can't seem to figure out how to just use nothing. Everything I've tried gives me a 500 error, but it works perfectly as intended with { map: { html: 'swig' }} included. Thanks for your help.
Here is my server.js
My trouble seems to come on line 13
I don't want to use any templating engine, or if I have to I'd prefer handlebars. The docs say that the default template extension is html, but if I remove that
{ map: { html: 'swig' }}
I just get 500 errors. I've tried passing in{ map: { html: 'html' }}
, removing map and passing indefault: 'html'
, just passing in an empty object, and can't seem to figure out how to just use nothing. Everything I've tried gives me a 500 error, but it works perfectly as intended with{ map: { html: 'swig' }}
included. Thanks for your help.