Skip to content

Commit 550c10c

Browse files
authored
Unauthorised domains issue
reminder to add domains to sanctum statefull array
1 parent eef603b commit 550c10c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ Laravel and vue spa using tailwind (laravel/ui looks) for styling and sanctum fo
1818

1919
- `git clone git@github.com:HijenHEK/laravel-vue-sanctum-spa.git --branch v1.0.0 my-spa` set verion and app name
2020
- `cd my-spa`
21-
- Edit `.env` and set your database connection details
21+
- Edit `.env` and set your database connection details and **your APP_URL**
2222
- `php artisan key:generate`
2323
- `php artisan migrate`
2424
- `npm install`
2525
- `npm run dev`
2626

27+
## Notes
28+
- make sure your domain is included in the statefull allowed domains (app/config/sanctum.php) to avoid [Unauthorised domains issue #3](/../../issues/3).
29+
2730
## Usage
2831

2932
#### Development

0 commit comments

Comments
 (0)