Fixed preview functionality for resources other than websites/apps.

This commit is contained in:
CalDescent 2023-03-03 17:33:15 +00:00
parent cf0681d7df
commit 3318093a4f

View File

@ -110,7 +110,7 @@ public class RenderResource {
if (!Settings.getInstance().isQDNAuthBypassEnabled())
Security.requirePriorAuthorization(request, hash58, Service.WEBSITE, null);
return this.get(hash58, ResourceIdType.FILE_HASH, Service.WEBSITE, null, "/", secret58, "/render/hash", true, false, theme);
return this.get(hash58, ResourceIdType.FILE_HASH, Service.ARBITRARY_DATA, null, "/", secret58, "/render/hash", true, false, theme);
}
@GET