Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
前端:localhost:3002 后端:sanctum.local
如何在env文件中配置这两个字段:
env
SANCTUM_STATEFUL_DOMAINS= SESSION_DOMAIN=
当我尝试登录时,我得到 419 未知状态。
添加:
SANCTUM_STATEFUL_DOMAINS="localhost,127.0.0.1" SESSION_DOMAIN=".sanctum.local"