@boomerang-io/webapp-spa-server 1.0.0 → 1.0.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +0 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -36,7 +36,6 @@ function createBoomerangServer({
36
36
  NEW_RELIC_LICENSE_KEY,
37
37
  HTML_HEAD_INJECTED_SCRIPTS,
38
38
  BUILD_DIR = "build",
39
- BASE_LAUNCH_ENV_URL,
40
39
  GA_SITE_ID,
41
40
  ENABLE_BEEHEARD_SURVEY,
42
41
  } = process.env;
@@ -90,7 +89,6 @@ function createBoomerangServer({
90
89
  */
91
90
  logger.debug("0 - disableInjectHTMLHeadData: ", disableInjectHTMLHeadData);
92
91
  if (!disableInjectHTMLHeadData) {
93
- logger.debug("1 - URL and ID: ", GA_SITE_ID, BASE_LAUNCH_ENV_URL);
94
92
  appRouter.use(
95
93
  "/",
96
94
  express.static(path.join(process.cwd(), BUILD_DIR), {
@@ -105,7 +103,6 @@ function createBoomerangServer({
105
103
  HTML_HEAD_INJECTED_SCRIPTS,
106
104
  APP_ROOT,
107
105
  GA_SITE_ID,
108
- BASE_LAUNCH_ENV_URL,
109
106
  ENABLE_BEEHEARD_SURVEY
110
107
  )
111
108
  );
@@ -141,7 +138,6 @@ function createBoomerangServer({
141
138
  * @param {string} injectedScripts - string of comma delimited values
142
139
  * @param {string} appRoot - root context off app. Used for script injection
143
140
  * @param {string} gaSiteId - siteID to be injected on scripts to support GA
144
- * @param {string} baseLaunchUrl - base url to determine GA primaryCategory
145
141
  * @param {boolean} enableBeeheardSurvey - true/false value configured at helm to decide to insert survey script
146
142
  */
147
143
  function injectEnvDataAndScriptsIntoHTML(
@@ -151,7 +147,6 @@ function injectEnvDataAndScriptsIntoHTML(
151
147
  injectedScripts,
152
148
  appRoot,
153
149
  gaSiteId,
154
- baseLaunchUrl,
155
150
  enableBeeheardSurvey
156
151
  ) {
157
152
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@boomerang-io/webapp-spa-server",
3
3
  "description": "Webapp Server for React-based SPA w/ client-side routing",
4
- "version": "1.0.0",
4
+ "version": "1.0.1-beta.0",
5
5
  "author": {
6
6
  "name": "Tim Bula",
7
7
  "email": "timrbula@gmail.com"