Admin v10
This commit is contained in:
@@ -281,7 +281,7 @@
|
||||
|
||||
@section Scripts {
|
||||
<script>
|
||||
const cdnBase = '@Html.Raw(Model.CdnBaseUrl)';
|
||||
const cdnBase = '@Html.Raw(Model.CdnBaseUrl)/downloads';
|
||||
|
||||
function updatePreview() {
|
||||
const path = document.getElementById('spritePath').value;
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
<td class="table-cell">
|
||||
@if (!string.IsNullOrEmpty(item.SpritePath))
|
||||
{
|
||||
<img src="@Html.Raw(Model.CdnBaseUrl)/@item.SpritePath"
|
||||
<img src="@Html.Raw(Model.CdnBaseUrl)/downloads/@item.SpritePath"
|
||||
alt="@item.Name"
|
||||
class="w-10 h-10 object-contain bg-gray-900 rounded border border-gray-700"
|
||||
onerror="this.style.display='none'" />
|
||||
|
||||
Reference in New Issue
Block a user