Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 14232f2

Browse files
committed
Update server port
1 parent aca4fd6 commit 14232f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const server = new ApolloServer({
1313
mongoose.connect(process.env.DB_URL, {
1414
useNewUrlParser: true
1515
}).then(() => {
16-
server.listen().then(({ url }) => {
16+
server.listen({ port: process.env.PORT || 4000 }).then(({ url }) => {
1717
console.log(`🎉Server listening at ${url} !`)
1818
})
1919
},

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy