dce-reactkit 3.6.26 → 3.6.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.6.26",
3
+ "version": "3.6.27",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -14,6 +14,7 @@ import ParamType from '../types/ParamType';
14
14
  import handleError from './handleError';
15
15
  import handleSuccess from './handleSuccess';
16
16
  import genErrorPage from '../html/genErrorPage';
17
+ import genInfoPage from '../html/genInfoPage';
17
18
  import parseUserAgent from './parseUserAgent';
18
19
  import getTimeInfoInET from './getTimeInfoInET';
19
20
 
@@ -407,7 +408,7 @@ const genRouteHandler = (
407
408
  });
408
409
 
409
410
  /*----------------------------------------*/
410
- /* Require Course Consistency */
411
+ /* ----- Require Course Consistency ----- */
411
412
  /*----------------------------------------*/
412
413
 
413
414
  // Make sure the user actually launched from the appropriate course
@@ -476,7 +477,7 @@ const genRouteHandler = (
476
477
  }
477
478
 
478
479
  /*----------------------------------------*/
479
- /* Log Handler */
480
+ /* ------------- Log Handler ------------ */
480
481
  /*----------------------------------------*/
481
482
 
482
483
  // Create a log handler function
@@ -745,7 +746,7 @@ const genRouteHandler = (
745
746
  body: string,
746
747
  },
747
748
  ) => {
748
- const html = genErrorPage(renderOpts);
749
+ const html = genInfoPage(renderOpts);
749
750
  send(html, 200);
750
751
  };
751
752