Actualizar 'components/page.js'

file-group-page
bat 3 years ago
parent b6573e4b93
commit c2fdc2bab7

@ -9,6 +9,9 @@ const frameHtml = `<!doctype html>
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
iframe {
border: none;
}
</style> </style>
</head> </head>
<body> <body>
@ -75,7 +78,7 @@ export class Page extends HTMLElement {
) )
url.searchParams.set( url.searchParams.set(
'csp', 'csp',
"default-src 'self'" "default-src 'self' 'unsafe-inline' 'unsafe-eval'"
) )
url.searchParams.set('html', frameHtml) url.searchParams.set('html', frameHtml)
tmp.src = url.href tmp.src = url.href

Loading…
Cancel
Save