Skip to content

Commit e3a1622

Browse files
Fly.io instructions updates
1. Added info about changing the PORT from 3001 to 8080 2. Added info about adding `cors` package to `dependencies` in `package.lock` 3. Added info about removing `morgan` package
1 parent c27d4be commit e3a1622

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/content/3/en/part3b.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ If you decide to use [Fly.io](https://fly.io/) begin by installing their flyctl
110110

111111
By default everyone gets two free virtual machines that can be used for running two apps at the same time.
112112

113-
Note that the Fly.io instructions have only been added to this course on the 28th of August 2022. If you run into problems, please ask for help on Discord!
113+
Note that the Fly.io instructions have only been added to this course on the 28th of August 2022. If you run into problems, please ask for help on Discord! If you're build keeps failing due to unhealthy checks, try changing your port from 3001 to 8080.
114+
Don't forget to add your `cors` package to `dependencies` in `package.json` and you might need to remove the `morgan` code from the server application.
114115

115116
Start by [authenticating](https://fly.io/docs/hands-on/sign-in/) via command line with the command
116117

0 commit comments

Comments
 (0)