Skip to content
Browse files

rename analytics-endpoint.js to gocd-server-comms.js to avoid Adblock…

… false positive

will need to make corresponding change in the analytics plugin
  • Loading branch information...
marques-work committed Aug 22, 2019
1 parent 4f51857 commit 6731045bfda31118b45ebd962dfcccd79ecda879
@@ -49,7 +49,7 @@
private static final String PLUGIN_ENDPOINT_JS = "plugin-endpoint.js";

// TODO: actually rename source file later
private static final String DESTINATION_JS = "analytics-endpoint.js";
private static final String DESTINATION_JS = "gocd-server-comms.js";

private AnalyticsExtension analyticsExtension;
private ServletContext servletContext;
@@ -168,7 +168,7 @@ public void onPluginMetadataLoad_shouldCopyPluginEndpointJsWhenCachingPluginStat


Path actualPath = Paths.get(railsRoot.getAbsolutePath(), "public", assetsService.assetPathFor(PLUGIN_ID), "analytics-endpoint.js");
Path actualPath = Paths.get(railsRoot.getAbsolutePath(), "public", assetsService.assetPathFor(PLUGIN_ID), "gocd-server-comms.js");


0 comments on commit 6731045

Please sign in to comment.
You can’t perform that action at this time.