UPDATE:
My implementation was fine, the module I was using to create a tunnel to the public web was not.
Rule of thumb, use ngrok if you plan on using localhost haha.
Thanks for the help @BarryCarlyon!
UPDATE:
My implementation was fine, the module I was using to create a tunnel to the public web was not.
Rule of thumb, use ngrok if you plan on using localhost haha.
Thanks for the help @BarryCarlyon!