Skip to content

Commit

Permalink
Unauthorised domains issue
Browse files Browse the repository at this point in the history
reminder to add domains to sanctum statefull array
  • Loading branch information
HijenHEK committed Jun 22, 2021
1 parent eef603b commit 550c10c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ Laravel and vue spa using tailwind (laravel/ui looks) for styling and sanctum fo

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

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

## Usage

#### Development
Expand Down

0 comments on commit 550c10c

Please sign in to comment.