- ABP Framework versionv 8.0.1
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): Auth server separated angular
- Exception message and full stack trace:
- Steps to reproduce the issue:
Post login, https://authserver-domain-name/api/account/profile-picture/fc6acc7a-ab15-e109-325e-3a0d8602930e request taking longer time to get response. Please find below screenshot image.png Seems the size of the response is around 34.7Mb. Due to this, Post login we were not able to see the profile icon at the top right corner until the request got completed. Attached a screenshot for your reference
29 Answer(s)
-
0
Can we connect remotely to check
-
0
hi
You only need to adjust the
quality
parameters to change the size of the image.e.g. 0.85, 0.8.
-
0
Can you provide me var UPPY_UPLOAD_ENDPOINT = $("#uploadEndpoint").val(); uppy endpoint URL and what does it refer,and what does getUppyHeaders refer to?
function getUppyHeaders() { var headers = {}; headers[abp.security.antiForgery.tokenHeaderName] = abp.security.antiForgery.getToken(); return headers; }
-
0
hi
The
UPPY_UPLOAD_ENDPOINT
endpoint is@Url.Content("~/api/account/profile-picture")
The
abp.security.antiForgery.tokenHeaderName
header is for CSRF/XSRF & Anti Forgery