Skip to content

Commit

Permalink
fix: update coveo prod, dev, and staging keys (#19)
Browse files Browse the repository at this point in the history
* fix: update coveo dev and staging key

* fix: add prod key
  • Loading branch information
Jcahilltorre authored Aug 28, 2023
1 parent 7d0e488 commit d8fbd2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

{{ $.Scratch.Set "coveoSc" "" }}
{{ if eq hugo.Environment "production" }}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xx79df1e1f-11e4-4da5-8ea8-2ed7e24cca6a" )) -}}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xx3b887403-1ec2-43cf-9e3c-d6dd3c1056c0" )) -}}
{{ $.Scratch.Set "coveoSc" $coveo}}
{{ else if eq hugo.Environment "staging" }}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xxdb89e3ea-5468-4e34-824f-91cf8b004b66" )) -}}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xxababbbee-d1e5-44e7-8e49-876ece453e60" )) -}}
{{ $.Scratch.Set "coveoSc" $coveo}}
{{ else }}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xxe1e9046f-585c-4518-a14a-6b986a5efffd" )) -}}
{{- $coveo := resources.Get "js/coveo.js" | js.Build ( dict "params" ( dict "coveokey" "xx6bbcd723-fec1-4af0-a13d-1c499cf5a15f" )) -}}
{{ $.Scratch.Set "coveoSc" $coveo}}
{{ end }}
{{ $secureCoveo := $.Scratch.Get "coveoSc" | minify | fingerprint "sha512" }}
Expand Down

0 comments on commit d8fbd2d

Please sign in to comment.