Wednesday 27 June 2018

[help] Routing front-end and back-end through the same port

I followed this tutorial to create a Vue front-end and an Express back-end. Everything works in development, but I don't want to have them on different ports. Should I do this by routing the index.html of the client through the root of the Express backend? Or is there a better way?Here's the code if you want to have a look yourself.

Submitted June 27, 2018 at 06:02PM by leo2a4

No comments:

Post a Comment