Skip to content

Commit

Permalink
ENG-0000 - Local Managed Content
Browse files Browse the repository at this point in the history
Updated AlRuntimeConfiguration to properly toggle this setting when
`useLocalContent()` is invoked.
  • Loading branch information
mcnielsen committed Nov 10, 2022
1 parent 4ed3ad2 commit b89957c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@al/core",
"version": "1.0.193",
"version": "1.0.194",
"description": "Node Enterprise Packages for Alert Logic (NEPAL) Core Library",
"main": "./dist/index.cjs.js",
"types": "./dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/configuration/al-runtime-configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export class AlRuntimeConfiguration {
* src/assets/external, and then invoke this function. The path can be overridden, of course!
*/
public static useLocalContent( assetBasePath:string = 'assets/external' ) {
AlRuntimeConfiguration.setOption( ConfigOption.LocalManagedContent, true );
AlRuntimeConfiguration.setOption( ConfigOption.NavigationViaGestalt, false );
AlRuntimeConfiguration.setOption( ConfigOption.NavigationViaConduit, false );
AlRuntimeConfiguration.setOption( ConfigOption.ManagedContentAssetPath, assetBasePath );
Expand Down

0 comments on commit b89957c

Please sign in to comment.