Skip to content

Commit 54a5fb2

Browse files
authored
Merge pull request #71 from mcneel/will/upload-example
Add example that uses uploaded 3dm file as input
2 parents 0b1664b + 4cd8881 commit 54a5fb2

File tree

4 files changed

+442
-1
lines changed

4 files changed

+442
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const app = express()
1111
if(process.env.NODE_ENV !== 'production')
1212
app.use(logger('dev'))
1313

14-
app.use(express.json())
14+
app.use(express.json({limit: '10mb'}))
1515
app.use(express.urlencoded({ extended: false }))
1616
app.use(cors())
1717
app.use(compression())

0 commit comments

Comments
 (0)