1

fix possible query bug

This commit is contained in:
Evan Pratten 2023-05-25 09:51:36 -04:00
parent f317f1abc2
commit fc370424ba
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Since 2022 I have been publishing personal music projects of all kinds under my
<ul> <ul>
<li> <li>
Soundtrack: <strong>Raindrops</strong> Soundtrack: <strong>Raindrops</strong>
<em>with <a href="https://demilurii.art" target="_blank">Emilia Frias</a></em>
(<a href="https://www.youtube.com/watch?v=RqzLxaQ3abM" target="_blank"><i class="fa-brands fa-youtube"></i></a>) (<a href="https://www.youtube.com/watch?v=RqzLxaQ3abM" target="_blank"><i class="fa-brands fa-youtube"></i></a>)
</li> </li>
<li> <li>

View File

@ -33,7 +33,7 @@ async function goat_counter_analytics(context) {
hits: [ hits: [
{ {
path: url.pathname, path: url.pathname,
query: url.search, query: url.searchParams.toString(),
ref: context.request.headers.get('Referer'), ref: context.request.headers.get('Referer'),
location: context.request.cf.country, location: context.request.cf.country,
user_agent: context.request.headers.get('User-Agent'), user_agent: context.request.headers.get('User-Agent'),