Fix some html attributes and add a content-type.

This commit is contained in:
John Livingston
2021-02-21 15:21:30 +01:00
parent 6e6e04c362
commit 765542ef31
2 changed files with 4 additions and 3 deletions

View File

@ -190,6 +190,7 @@ async function register ({
page = page.replace(/{{WS_SERVICE_URL}}/g, settings['chat-ws-uri'])
res.status(200)
res.type('html')
res.send(page)
} catch (error) {
return next(error)