Skip to content

Commit e5bfc1e

Browse files
authored
Merge pull request #199 from bimberlabinternal/fb_registerAllowedConnectionSource
Add registerAllowedConnectionSource to JBrowse and mGAP
2 parents c95035d + 83c406d commit e5bfc1e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

mGAP/src/org/labkey/mgap/mGAPModule.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import org.labkey.api.util.PageFlowUtil;
4141
import org.labkey.api.util.SystemMaintenance;
4242
import org.labkey.api.writer.ContainerUser;
43+
import org.labkey.filters.ContentSecurityPolicyFilter;
4344
import org.labkey.mgap.buttons.PopulateAnnotationsButton;
4445
import org.labkey.mgap.buttons.ReleaseButton;
4546
import org.labkey.mgap.jbrowse.mGAPFieldCustomizer;
@@ -107,6 +108,8 @@ public void doStartupAfterSpringConfig(ModuleContext moduleContext)
107108

108109
SystemMaintenance.addTask(new mGapMaintenanceTask());
109110

111+
ContentSecurityPolicyFilter.registerAllowedConnectionSource(this.getClass().getName(), "https://kit.fontawesome.com");
112+
110113
new PipelineStartup();
111114
}
112115

0 commit comments

Comments
 (0)