Commit 5e09e6f3 authored by Randall Leeds's avatar Randall Leeds

Update SCE delegate whitelist

Close #1420
parent 46c69c33
......@@ -58,7 +58,8 @@ configure = [
baseURI = if baseTags.length then baseTags[0].href else document.URL
# Explicitly whitelist '.html' paths adjacent to application base URI
basePattern = baseURI.replace /\/[^\/]*$/, '/*.html'
# TODO: move all front-end templates into their own directory for safety
basePattern = baseURI.replace /\/[^\/]*$/, '/**.html'
$sceDelegateProvider.resourceUrlWhitelist ['self', basePattern]
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment