Skip to content

Commit 7ceb2aa

Browse files
Fork max instances Heroku
1 parent 84b954f commit 7ceb2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const schema = makeExecutableSchema({
1313
resolvers,
1414
})
1515

16-
const PORT = 4000
16+
const PORT = process.env.PORT || process.cwd() || 3000
1717

1818
const server = restify.createServer({ title: 'restify' })
1919

0 commit comments

Comments
 (0)