Change creds

This commit is contained in:
drastiq 2020-06-20 21:40:56 +02:00
parent 2ba1f47010
commit 909d28fd65
4 changed files with 2 additions and 34 deletions

View File

@ -13,7 +13,7 @@ namespace squirrowse.db
{ {
_blobServiceClient = _blobServiceClient =
new BlobServiceClient( new BlobServiceClient(
"DefaultEndpointsProtocol=https;AccountName=squirrowse;AccountKey=34EmEpHYAoCybkXwq365I+5Vd4+zoqGfakTBj/1+rh3Ef9vng386JpgbAc5BKGuoTlNdDnMEyX9K4q73j5qlaQ==;EndpointSuffix=core.windows.net"); "DefaultEndpointsProtocol=https;AccountName=squirrowse;AccountKey=/S09Er70NmQ6vNwJU0eVG0pbV5DklBx8vdp4M28dEfr0ZRmSzd5B/STrzDTfkbxg4BcN+rRu93pRowC/4Ys48A==;EndpointSuffix=core.windows.net");
Container = CreateImgBloob("squirrowseimg"); Container = CreateImgBloob("squirrowseimg");
} }

View File

@ -19,7 +19,7 @@ namespace squirrowse.web.Cognitive
{ {
_blob = blob; _blob = blob;
_db = db; _db = db;
_client = new ComputerVisionClient(new ApiKeyServiceClientCredentials("64b5ed98d11d41b395e270424088ec83")) _client = new ComputerVisionClient(new ApiKeyServiceClientCredentials("3bac1a140d914fe98300ed1d2ddab5f1"))
{ {
Endpoint = Endpoint =
"https://squirrowse.cognitiveservices.azure.com/" "https://squirrowse.cognitiveservices.azure.com/"

View File

@ -5,37 +5,6 @@
@inject IJSRuntime jsrun; @inject IJSRuntime jsrun;
@inject GaleryService galery; @inject GaleryService galery;
<h3>Galery</h3> <h3>Galery</h3>
@*<table class="table">
<thead>
<tr>
<th>Tag</th>
<th>Img</th>
</tr>
</thead>
<tbody>
@foreach (var item in _frames.Keys)
{
<tr>
<td>@item</td>
@foreach (var t in _frames.GetValueOrDefault(item))
{
<td>
<img src="@t.ImgSrc"/>
</td>
}
</tr>
}
</tbody>
</table>*@
<table> <table>
<thead> <thead>
<tr> <tr>
@ -76,7 +45,6 @@
@code { @code {
private ILiteDatabase repo; private ILiteDatabase repo;
// private GaleryService _galery;
private List<string> _tags; private List<string> _tags;
private readonly Dictionary<string, bool> _tagsSwitch = new Dictionary<string, bool>(); private readonly Dictionary<string, bool> _tagsSwitch = new Dictionary<string, bool>();
private Dictionary<string, List<Frame>> _frames; private Dictionary<string, List<Frame>> _frames;

Binary file not shown.