Skip to content

Commit

Permalink
Set default port for dev-server
Browse files Browse the repository at this point in the history
  • Loading branch information
lcharette committed Apr 9, 2024
1 parent 4bb5fe5 commit 7143816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/stores/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ export const useAuthStore = defineStore("auth", {
},
logout() {
this.loading = true;
this.user = null;
axios
.get("/auth/logout")
.then(() => {
this.user = null;
this.check(); // Check to make sure it worked
})
.finally(() => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"webpack-notifier": "^1.15.0"
},
"scripts": {
"dev-server": "encore dev-server",
"dev-server": "encore dev-server --port 9000",
"dev": "encore dev",
"watch": "encore dev --watch",
"build": "encore production --progress"
Expand Down

0 comments on commit 7143816

Please sign in to comment.