Skip to content

Commit

Permalink
Add github to allowlist of iframe domains (googlecodelabs#446)
Browse files Browse the repository at this point in the history
Allowing for codelabs to render GitHub pages might be useful to refer to other code or documentation pages (READMEs, for instance).
  • Loading branch information
julioz authored Dec 24, 2020
1 parent d051be6 commit 543bbf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions claat/types/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ var IframeWhitelist = []string{
"codepen.io",
"glitch.com",
"carto.com",
"github.com",
}

// NewIframeNode creates a new embedded iframe.
Expand Down

0 comments on commit 543bbf7

Please sign in to comment.