Skip to content

Commit 42bc283

Browse files
committed
revert all environments to app.js bundle
can manually override to test if we want to test in future
1 parent 391a0f4 commit 42bc283

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

config.internal.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[params]
2-
# Validate the refreshed global navigation and footer on internal.learn.arm.com.
3-
global_web_components_url = "https://www.arm.com/arm-global-web-components/devhub/test.js"
2+
# Use Arm's stable navigation and footer bundle internally.
3+
global_web_components_url = "https://www.arm.com/arm-global-web-components/devhub/app.js"

themes/arm-design-system-hugo-theme/layouts/partials/head/head.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,9 @@
5555
integrity="sha384-caAG7P/HrHxcdQa2gTEfvZYGPLQk7yRwVdvtRn6sa3TRKzcAyY1LMvObXKGhwFNb"
5656
crossorigin="anonymous">
5757
</script>
58-
<!-- Arm Header & Footer loading. Local development uses the test bundle;
59-
deployment config can explicitly override the stable app.js default. -->
58+
<!-- Arm Header & Footer loading. All environments default to stable app.js;
59+
deployment config can explicitly override the URL for controlled testing. -->
6060
{{ $globalWebComponentsURL := .Site.Params.global_web_components_url | default "https://www.arm.com/arm-global-web-components/devhub/app.js" }}
61-
{{ if and hugo.IsServer (not .Site.Params.global_web_components_url) }}
62-
{{ $globalWebComponentsURL = "https://www.arm.com/arm-global-web-components/devhub/test.js" }}
63-
{{ end }}
6461
<script
6562
type="text/javascript"
6663
src="{{ $globalWebComponentsURL }}"

0 commit comments

Comments
 (0)