I’ve tried two different ways of injecting code into my app’s <head> tag (adding it to an HTML file and using the static-html package; and using the inject-initial package), and I have the same problem with both methods: the code does get inserted, but at the end of <body> instead of the end of <head>.
Any idea what could be going on?
EDIT: I also tried the WebApp.rawConnectHandlers method outlined here, same thing.