Embed MagicMirror² (CT 111) via the shared embedView factory, exposed at mirror.hynesy.com through Traefik + CF Access. Traefik mirror-frame middleware swaps MM's X-Frame-Options for a CSP frame-ancestors allowing the Void origins. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7 lines
234 B
JavaScript
7 lines
234 B
JavaScript
// public/views/mirror.js — #/mirror (MagicMirror² on CT 111)
|
|
import { embedView } from './embed.js';
|
|
export const render = embedView({
|
|
title: 'MagicMirror', sub: 'smart mirror dashboard',
|
|
src: 'https://mirror.hynesy.com/'
|
|
});
|