Prevent query params in GoatCounter results

This commit is contained in:
Florine W. Dekker 2023-03-20 12:59:19 +01:00
parent 8beea2c411
commit 61c02965b6
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
4 changed files with 24 additions and 17 deletions

View File

@ -28,17 +28,22 @@ If you need **help**, have a **question**, or found a **bug**, please
* [npm](https://www.npmjs.com/)
### Setting up
```shell script
# Install dependencies (only needed once)
$> npm ci
Install the dependencies.
Run this after cloning the repo, and each time after pulling new commits.
```shell
npm ci
```
### Building
```shell script
# Build the tool in `dist/` for development
$> npm run dev
# Same as above, but automatically rerun it whenever files are changed
$> npm run dev:server
# Build the tool in `dist/` for deployment
$> npm run deploy
```
* Build the tool in `dist/` for development
```shell
npm run dev
```
* Same as above, but automatically rebuild whenever source code is changed
```shell
npm run dev:server
```
* Build the tool in `dist/` for deployment
```shell
npm run deploy
```

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "interlanguage-checker",
"version": "1.13.9",
"version": "1.13.10",
"description": "Check the consistency of MediaWiki interlanguage links in a simple overview.",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",
@ -16,7 +16,7 @@
"deploy": "grunt deploy"
},
"devDependencies": {
"grunt": "^1.5.3",
"grunt": "^1.6.1",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.1",
"grunt-contrib-copy": "^1.0.0",
@ -24,9 +24,9 @@
"grunt-focus": "^1.0.0",
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^5.0.0",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
"ts-loader": "^9.4.2",
"typescript": "^5.0.2",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1"
}
}

View File

@ -22,6 +22,8 @@
<link rel="stylesheet" href="https://static.fwdekker.com/lib/template/3.x.x/template.css?v=%%VERSION_NUMBER%%" />
<!--suppress HtmlUnknownTarget -->
<link rel="stylesheet" href="main.css?v=%%VERSION_NUMBER%%" />
<!-- Prevent sending query params to GoatCounter -->
<link rel="canonical" href="https://fwdekker.com/tools/death-notifier/">
<script async src="https://stats.fwdekker.com/count.js"
data-goatcounter="https://stats.fwdekker.com/count"></script>
</head>