Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 25c4065

Browse files
author
Md Obydullah
authored
Update EditBook.vue
1 parent 7ca5e5d commit 25c4065

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎resources/js/components/EditBook.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
created() {
3030
this.axios
31-
.get(`https://laravel.dev/api/book/edit/${this.$route.params.id}`)
31+
.get(`http://localhost:8000/api/book/edit/${this.$route.params.id}`)
3232
.then((response) => {
3333
this.book = response.data;
3434
// console.log(response.data);
@@ -37,7 +37,7 @@
3737
methods: {
3838
updateBook() {
3939
this.axios
40-
.post(`https://laravel.dev/api/book/update/${this.$route.params.id}`, this.book)
40+
.post(`http://localhost:8000/api/book/update/${this.$route.params.id}`, this.book)
4141
.then((response) => {
4242
this.$router.push({name: 'home'});
4343
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /