Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8084625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:51:15+00:00 2026-06-05T17:51:15+00:00

I wrote a small express.js based web app. I serve a manifest.webapp but express.js

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:51:17+00:00Added an answer on June 5, 2026 at 5:51 pm

    I found out that you can access bundled modules this way:

    require("express/node_modules/mime").define({
        'application/x-web-app-manifest+json': ['webapp']
    });
    

    I don’t know if this is the proper way to do it, but I use this for now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a small internal web app using (a subset of) pylons . As
I wrote a small app to send an email using Action_Send. When I start
I wrote some small apps using .NET 3.5 but now I am stuck with
I wrote a small app that turns out to be using a lot of
I wrote a small program using a custom indexOf function but wanted to dismiss
I wrote a small app that I need to distribute to 700+ computers, the
I wrote a small Hello World app. #include <stdio.h> int main(int argc, const char
I wrote a small app to allow the user to choose which language he
Wrote a small app that accesses a bunch of search websites and puts the
I wrote a small app that allows me to compare two database schemas to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.