Skip to content

Commit 97af9a8

Browse files
committed
Added local HTTP configuration for ViewProduct component
1 parent f9f8fb8 commit 97af9a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ViewProduct.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454

5555
<script>
5656
export default {
57+
http: {
58+
headers: {
59+
'X-CSRF-TOKEN': 'VERY_SECURE_TOKEN_HERE'
60+
}
61+
},
5762
props: {
5863
productId: {
5964
required: true

0 commit comments

Comments
 (0)