Skip to content

Commit 3902f7c

Browse files
committed
Prepare for Vercel deployment
1 parent 810bb8f commit 3902f7c

39 files changed

+28489
-28586
lines changed

client/.eslint.json .eslint.json

File renamed without changes.

client/.prettierrc .prettierrc

File renamed without changes.

server/api.js api/api.js

File renamed without changes.

server/app.js api/index.js

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

api/www.js

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env node
2+
import app from './index.js';
3+
import http from 'http';
4+
5+
6+
var port = Number(process.env.PORT || '3001');
7+
app.set('port', port);
8+
9+
var server = http.createServer(app);
10+
11+
server.listen(port);
12+

0 commit comments

Comments
 (0)