Last active
November 1, 2020 15:10
-
-
Save mbrown3321/9ef460b63ffd69515ce5db477de26c35 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 express = require("express"); | |
const app = express(); | |
const cors = require("cors"); | |
const uploadRoutes = require("./routes/uploads"); | |
const bodyParser = require("body-parser"); | |
app.use("*", cors()); | |
app.use(bodyParser.json({ limit: "100mb", extended: true })); | |
app.use(uploadRoutes); | |
app.listen(8000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment