Skip to content

Commit

Permalink
removed the cors header from the update call again
Browse files Browse the repository at this point in the history
  • Loading branch information
pljakobs committed Jan 3, 2025
1 parent 28eb2d8 commit 5d60bd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/FirmwareUpdateCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ export default {
method: "POST",
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
body: JSON.stringify(selectedFirmware.files),
},
Expand Down
2 changes: 1 addition & 1 deletion src/stores/storeConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const localhost = {
hostname: "localhost",
ip_address:
process.env.NODE_ENV === "development"
? "led-te3.fritz.box"
? "led-So2.fritz.box"
: window.location.hostname,
};

Expand Down

0 comments on commit 5d60bd6

Please sign in to comment.