Skip to content

Commit

Permalink
include CORS header in request.
Browse files Browse the repository at this point in the history
  • Loading branch information
pljakobs committed Dec 31, 2024
1 parent 0611c58 commit 45b878d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/FirmwareUpdateCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<tbody>
<tr>
<td class="label">Build type:</td>
<td>{{ infoDabuildta.data.build_type }}</td>
<td>{{ infoData.data.build_type }}</td>
</tr>
<tr>
<td class="label">Version:</td>
Expand Down Expand Up @@ -205,6 +205,7 @@ export default {
method: "POST",
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
body: JSON.stringify(selectedFirmware.files),
},
Expand Down

0 comments on commit 45b878d

Please sign in to comment.