Skip to content

Commit

Permalink
no minification in webpack, update splunk RUM tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPSplunk committed Jun 20, 2024
1 parent bf76a5d commit 40ea0cf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ const nextConfig = {
// Replace entry in config with new value
return {
...config,
optimization: {
minimize: false,
},
entry
};

Expand Down
13 changes: 10 additions & 3 deletions src/frontend/splunk-rum.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ import SplunkRum from '@splunk/otel-web';

SplunkRum.init({
realm: "us1",
rumAccessToken: "Qad35m7E6ld6p_-O_RxwEg",
applicationName: "astroshop",
deploymentEnvironment: "astroshop"
rumAccessToken: "5UxP7X9NINTxugmccK8kaA",
applicationName: "astroshop_lab",
deploymentEnvironment: "astroshop_lab"
});

//SplunkRum.init({
// realm: "us1",
// rumAccessToken: "Qad35m7E6ld6p_-O_RxwEg",
// applicationName: "astroshop",
// deploymentEnvironment: "astroshop"
//});

0 comments on commit 40ea0cf

Please sign in to comment.