Modify readme
This commit is contained in:
parent
52e45b93a0
commit
65923fee9f
|
@ -18,8 +18,7 @@ $ quasar dev
|
||||||
Launch project backend.
|
Launch project backend.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd back
|
pnpm run back
|
||||||
php -S 127.0.0.1:3002 -t . index.php
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Run server side method from command line.
|
Run server side method from command line.
|
||||||
|
|
|
@ -39,7 +39,6 @@ const onResponseError = error => {
|
||||||
export default boot(({ app }) => {
|
export default boot(({ app }) => {
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
console.log('appStore', appStore);
|
|
||||||
function addToken(config) {
|
function addToken(config) {
|
||||||
if (userStore.token) {
|
if (userStore.token) {
|
||||||
config.headers.Authorization = userStore.token;
|
config.headers.Authorization = userStore.token;
|
||||||
|
|
Loading…
Reference in New Issue