Make referrerPolicy take more options

This commit is contained in:
salastro 2022-04-01 19:54:42 +02:00
parent ba45bfcc10
commit 32f28b6233
No known key found for this signature in database
GPG key ID: 808018738F630ADA

View file

@ -23,8 +23,8 @@
user: "{{ .id }}",
utcoffset: "1",
}),
{{ if .noReferrerWhenDowngrade }}
{ referrerPolicy: "no-referrer-when-downgrade" }
{{ with .referrerPolicy }}
{ referrerPolicy: "{{ . }}" }
{{ end }}
);
}