Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 543bbf7

Browse files
authored
Add github to allowlist of iframe domains (#446)
Allowing for codelabs to render GitHub pages might be useful to refer to other code or documentation pages (READMEs, for instance).
1 parent d051be6 commit 543bbf7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

claat/types/node.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,7 @@ var IframeWhitelist = []string{
539539
"codepen.io",
540540
"glitch.com",
541541
"carto.com",
542+
"github.com",
542543
}
543544

544545
// NewIframeNode creates a new embedded iframe.

0 commit comments

Comments
 (0)