푸터: VersionInfo injection 오류 수정
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
@inject VersionInfo VersionInfo
|
||||
@{
|
||||
var versionInfo = ViewContext.HttpContext.RequestServices.GetService(typeof(VersionInfo)) as VersionInfo;
|
||||
}
|
||||
|
||||
<footer class="bg-light border-top mt-5 py-4">
|
||||
<div class="container">
|
||||
@@ -31,7 +33,7 @@
|
||||
<a href="/taxbaik/privacy" class="text-decoration-none text-muted me-2">개인정보처리방침</a>
|
||||
<a href="/taxbaik/terms" class="text-decoration-none text-muted">이용약관</a>
|
||||
<div class="mt-2" style="font-size: 0.75rem; opacity: 0.7;">
|
||||
🔄 버전: @VersionInfo.Version | 배포: @VersionInfo.Built
|
||||
🔄 버전: @(versionInfo?.Version ?? "unknown") | 배포: @(versionInfo?.Built ?? "unknown")
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user