Skip to content

Commit 8fbb70d

Browse files
Merge pull request #154 from Datalayer-Storage/develop
fix: resource head
2 parents b2b0887 + 3cb29bb commit 8fbb70d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

publish.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ param(
33
)
44
# other runtimes that might work: https://learn.microsoft.com/en-us/dotnet/core/rid-catalog
55

6-
$version = "0.2.62"
6+
$version = "0.2.63"
77
$fullName = "dig"
88
$names = @("dig", "server")
99
$src = "src"

src/server/Controllers/StoresController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public async Task<IActionResult> GetStoreMeta(string storeId, CancellationToken
3232
}
3333

3434
}
35+
[HttpHead("{storeId}/{*catchAll}")]
36+
public async Task<IActionResult> GetResourceMeta(string storeId, CancellationToken cancellationToken)
37+
{
38+
return await GetStoreMeta(storeId, cancellationToken);
39+
}
3540

3641
[HttpGet("{storeId}")]
3742
[ProducesResponseType(StatusCodes.Status307TemporaryRedirect)]

0 commit comments

Comments
 (0)