@marksibly
I encountered the same issue. InternalLink
Sorted it by adding proxy_set_header X-Forwarded-Proto $scheme;
in the nginx
conf file
@marksibly
I encountered the same issue. InternalLink
Sorted it by adding proxy_set_header X-Forwarded-Proto $scheme;
in the nginx
conf file
@baris Perfect. Thanks very much for clarifying!
Hi @julian
Yes, you're right. That is the problem (401).
And yes, I am on V2.
Thanks that's quite the detailed answer. Super helpful! Let me try this
Update: It got solved by adding the following in nginx after reading InternalLink.
proxy_set_header X-Forwarded-Proto $scheme;
Update:
Was able to sort this with a client script.
Example usage:
plugin.json -> { "hook": "filter:navigation.available", "method": "addNavigation" }
plugin.json -> "scripts": [ "static/lib/client-script.js",... ],
library.js addNavigation:
append the following to the hookData object:
{
route: '<some route>',
title: <some title>,
id: 'unread-count',
iconClass: '<some icon> custom-class-name',
text: <some title>
}
client-script.js:
$("#unread-count .custom-class-name").attr("data-content",<unread count>)