socket.io on swig templates
Issue #15
resolved
socket.io is no longer being injected into a html response when switching to swig templates.
Comments (4)
-
Account Deleted -
Account Deleted Yep, it goes straight to the
Response.end()
method passing the output as the 1st parameter. Add the same injection toResponse.end()
method as you have to theResponse.write()
method. -
Account Deleted - changed status to resolved
Removed swig caching so that socket.io refreshing works. Fixes
#15→ <<cset e71747d5ad27>>
-
Account Deleted Removed swig caching so that socket.io refreshing works. Fixes
#15→ <<cset e71747d5ad27>>
- Log in to comment
It seems that when using swig, the
Response.write
method is by-passed.