I wrote a small express.js based web app. I serve a manifest.webapp but express.js doesn’t send the correct mime type. But because express.js bundles the mime module require("mime").define(...) has no effect. It defines the mime type for the wrong module!
Is there a way to access the mime module that is bundled with express.js? Or is there a way to tell npm (and nodejitsu) to not use the bundled modules of express.js?
I found out that you can access bundled modules this way:
I don’t know if this is the proper way to do it, but I use this for now.