php - How to integrate React App With Laravel Sanctum on Apache2

one text

Solution:

This is now solved.

  1. Add the following to /etc/hosts:

    127.0.0.1 example.com
    127.0.0.1 front.example.com
    
  2. Then configure apache for these domains.

Source