Created
September 8, 2021 09:51
-
-
Save velotiotech/776965bd23d4a17b390da46cd0ae931e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const serverless = require("serverless-http"); | |
const express = require("express"); | |
const app = express(); | |
. | |
. | |
. | |
. | |
. | |
. | |
app.get("/",(req,res)=> { | |
res.sendFile(path.join(__dirname + "/index.html")); | |
}); | |
module.exports.uihome = serverless(app); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment