We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm not using any middleware except express.json and cors.
this is lambda.ts
import serverlessExpress from "@codegenie/serverless-express"; import app from "./app"; exports.handler = serverlessExpress({ app, binaryMimeTypes: ["application/x-zip", "application/zip"], });
I tried with and without specifying binaryMimeTypes and with and without the specific first route:
binaryMimeTypes
app.use("/done/ext.zip", (req, res) => { res.sendFile(path.join(__dirname, "public/ext.zip")); }); app.use("/done", express.static("public"));
The text was updated successfully, but these errors were encountered:
"@codegenie/serverless-express": "^4.14.0", "express": "^4.19.2",
Sorry, something went wrong.
No branches or pull requests
I'm not using any middleware except express.json and cors.
this is lambda.ts
I tried with and without specifying
binaryMimeTypes
and with and without the specific first route:The text was updated successfully, but these errors were encountered: