Skip to content

Commit

Permalink
Update the razor page for images upload, appsettings update
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Jun 16, 2024
1 parent 27100a9 commit 6942dea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Cataloguify/Cataloguify.Client/Pages/UploadImage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
@inject IJSRuntime JSRuntime;

<h1 class="title">Cropper</h1>
<h2 class="subtitle">1. Load from file</h2>
<h2 class="subtitle">I. Load from file</h2>
<InputFile OnChange="OnInputFileChange" class="input"></InputFile>
<h2 class="subtitle">2. Load from URL</h2>
<h2 class="subtitle">II. Load from URL</h2>
<div class="field has-addons">
<div class="control is-expanded">
<input class="input" @bind="webimgurl" placeholder="Enter image URL" />
Expand Down Expand Up @@ -219,7 +219,6 @@ else
Console.WriteLine($"Error during image processing: {ex.Message}");
}
}

}
<style>
@@import url("https://fastly.jsdelivr.net/npm/[email protected]/css/bulma.min.css");
Expand Down
2 changes: 1 addition & 1 deletion Cataloguify/Cataloguify.Client/wwwroot/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"AllowedHosts": "*",
"HttpClientOptions": {
"ApiUrl": "https://9tty1ch09d.execute-api.us-east-1.amazonaws.com/",
"ApiUrl": "https://mn7sujys1h.execute-api.us-east-1.amazonaws.com/",
"Retries": 3
}
}
4 changes: 3 additions & 1 deletion Cataloguify/Cataloguify.Client/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link href="Cataloguify.Client.styles.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<link href="CropperSample.styles.css" rel="stylesheet" />

</head>

<body>
Expand Down Expand Up @@ -54,6 +54,8 @@


</script>

<script src="https://d3tqv0ydvy0r05.cloudfront.net/_framework/Polly.Core.wasm" crossorigin="anonymous"></script>
</body>

</html>

0 comments on commit 6942dea

Please sign in to comment.