Skip to content

Commit 7625346

Browse files
committed
Change CSP host registration method signature
1 parent b51fb88 commit 7625346

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jbrowse/src/org/labkey/jbrowse/JBrowseModule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ public void doStartupAfterSpringConfig(ModuleContext moduleContext)
115115
JBrowseService.get().registerGroupsProvider(new JBrowseLuceneSearch.TestJBrowseGroupProvider());
116116

117117
// These are all part of the JBrowse demo data:
118-
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Connection, this.getClass().getName(), "https://jbrowse.org", "https://s3.amazonaws.com", "https://ftp.ncbi.nlm.nih.gov");
119-
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Style, this.getClass().getName(), "https://www.gstatic.com");
118+
ContentSecurityPolicyFilter.registerAllowedSources(this.getClass().getName(), Directive.Connection, "https://jbrowse.org", "https://s3.amazonaws.com", "https://ftp.ncbi.nlm.nih.gov");
119+
ContentSecurityPolicyFilter.registerAllowedSources(this.getClass().getName(), Directive.Style, "https://www.gstatic.com");
120120

121121
ContextListener.addShutdownListener(new JBrowseLuceneSearch.ShutdownHandler());
122122
}

0 commit comments

Comments
 (0)