kevinshen56714 / SkyOffice

Immersive virtual office built with Phaser, React, Redux, PeerJS, and Colyseus.
https://sky-office.co/
MIT License
930 stars 289 forks source link

Embrace Heroku again and put server URL in .env #55

Closed kevinshen56714 closed 1 year ago

kevinshen56714 commented 1 year ago

There's a huge response delay when using Render servers, so we're switching back to Heroku (using the Heroku Student Package).

In this PR, the Procfile file and the heroku-postbuild command in package.json are added back. In addition, the server url is now encoded as an environment variable instead of hard coded in Network.ts.

In a follow-up PR, I will write in Readme about how to set up the .env etc.

netlify[bot] commented 1 year ago

Deploy Preview for skyoffice ready!

Name Link
Latest commit c4df5c12e7bac6d5170e1b7b4ccd560e1ecca96f
Latest deploy log https://app.netlify.com/sites/skyoffice/deploys/638b63398fe45f00092663b1
Deploy Preview https://deploy-preview-55--skyoffice.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.