Skip to content

Commit

Permalink
Fix redirect due to missing header for Winery request
Browse files Browse the repository at this point in the history
  • Loading branch information
wederbn committed Oct 25, 2023
1 parent 7d4a79e commit 0fa2df4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,13 @@ export async function loadTopology(deploymentModelUrl) {
let tags;
try {
topology = await fetch(
deploymentModelUrl.replace("?csar", "topologytemplate")
deploymentModelUrl.replace("?csar", "topologytemplate"),
{
method: "GET",
headers: {
Accept: "application/json",
},
}
).then((res) => res.json());
tags = await fetch(deploymentModelUrl.replace("?csar", "tags")).then(
(res) => res.json()
Expand Down

0 comments on commit 0fa2df4

Please sign in to comment.