Fixed wrong CDN being used for mii images on web account page

This commit is contained in:
Jemma
2024-01-02 14:50:04 -06:00
parent 4c1f1894a9
commit df64a4e02c

View File

@@ -31,7 +31,7 @@
<div class="community-top">
<img class="banner" src="https://juxt-web-cdn.b-cdn.net/images/banner.png" alt="">
<div class="community-info">
<img class="user-icon <%if(pnid.accessLevel > 2) {%>verified<%}%>" src="<%if (pnid.deleted || banned) { %>https://juxt-web-cdn.b-cdn.net/images/bandwidthlost.png<% } else { %>https://juxt-web-cdn.b-cdn.net/mii/<%=pnid.pid%>/normal_face.png<%}%>">
<img class="user-icon <%if(pnid.accessLevel > 2) {%>verified<%}%>" src="<%if (pnid.deleted || banned) { %>https://juxt-web-cdn.b-cdn.net/images/bandwidthlost.png<% } else { %>https://pretendo-cdn.b-cdn.net/mii/<%=pnid.pid%>/normal_face.png<%}%>">
<h2 class="community-title"><% if(banned) { %>Banned User<% } else if(pnid.deleted){%>Deleted User<%} else {%><%= pnid.mii.name %> @<%= pnid.username %><%}%><%if(pnid.accessLevel >= 2) {%><span class="verified-badge">✓</span><%}%></h2>
<%if(pnid.pid !== pid && pid !== 1000000000 && !pnid.deleted && !banned) {%>
<% var following = parentUserContent.followed_users.indexOf(userContent.pid) !== -1; %>