@stamhoofd/redirecter 2.82.0 → 2.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamhoofd/redirecter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.83.0",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"license": "UNLICENCED",
|
|
6
6
|
"scripts": {
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "5f116184aad8965d9deda1902e73af7feefa5721"
|
|
23
23
|
}
|
|
@@ -34,7 +34,7 @@ export class RedirectEndpoint extends Endpoint<Params, Query, Body, ResponseBody
|
|
|
34
34
|
|
|
35
35
|
if (country === Country.Belgium) {
|
|
36
36
|
const url = 'https://www.stamhoofd.be' + path;
|
|
37
|
-
const response = new Response(
|
|
37
|
+
const response = new Response($t(`3fb0eda2-63e8-422c-a19f-b36c36bea5eb`) + ' ' + url);
|
|
38
38
|
response.status = 302;
|
|
39
39
|
response.headers['Location'] = url;
|
|
40
40
|
|
|
@@ -44,7 +44,7 @@ export class RedirectEndpoint extends Endpoint<Params, Query, Body, ResponseBody
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
const url = 'https://www.stamhoofd.nl' + path;
|
|
47
|
-
const response = new Response(
|
|
47
|
+
const response = new Response($t(`3fb0eda2-63e8-422c-a19f-b36c36bea5eb`) + ' ' + url);
|
|
48
48
|
response.status = 302;
|
|
49
49
|
response.headers['Location'] = url;
|
|
50
50
|
|