fix(portal): Use http:// for local service URLs
Services in LXC/Docker containers don't have SSL certificates, so always use http:// instead of inheriting the browser's protocol. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
37b88e47b9
commit
ed41ac326d
@ -485,7 +485,8 @@ return view.extend({
|
||||
categoryOrder.forEach(function(cat) {
|
||||
if (categories[cat] && categories[cat].length > 0) {
|
||||
categories[cat].forEach(function(svc) {
|
||||
var url = window.location.protocol + '//' + window.location.hostname + svc.url;
|
||||
// Always use http:// for local services (they don't have SSL certs)
|
||||
var url = 'http://' + window.location.hostname + svc.url;
|
||||
var emoji = iconMap[svc.icon] || '⚡';
|
||||
serviceCards.push(E('a', {
|
||||
'class': 'sb-app-card sb-service-card',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user