Laragon + Subdomain + Js SPA
-
Hi ! I've in mind a project with the current structure :
- 1 Auth Back End (Subdomain)
- 1 BackEnd (Subdomain)
- 1 Front end SPA (The Domain)
- 1 Front end SPA (Subdomain)
I want to reproduce this with Laragon.
- Problem : My SPA dev setup always point to localhost:4200. How can I make this dev server part of the Laragon configuration in order to specify it is a subdomain and use cookies for auth etc ?
Any advice or tips ? Thanks a lot !