Skip to content

Commit 24e3ae1

Browse files
committed
remove client specific rules
1 parent a9d6808 commit 24e3ae1

File tree

2 files changed

+2
-48
lines changed

2 files changed

+2
-48
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodeart/cloudflare-provisioning",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

template.js

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,6 @@ module.exports = {
1212
expression: '(cf.client.bot and not http.request.uri.path contains ".well-known")'
1313
}
1414
}
15-
],
16-
bypassCMSApi: [
17-
{
18-
description: 'bypass cms api with proxy',
19-
action: 'bypass',
20-
products: ['uaBlock', 'bic', 'securityLevel'],
21-
filter: {
22-
enabled: true,
23-
expression: '(http.request.uri.path contains "/api/cms/pages" and http.user_agent eq "sitemap-generator-ss") or (http.request.uri.path eq "/api/info/locales" and http.user_agent eq "sitemap-generator-ss")'
24-
}
25-
}
26-
],
27-
allowHotlinkFromKingtraf: [
28-
{
29-
description: 'allow hotlink from kingtraf',
30-
action: 'bypass',
31-
products: ['hot'],
32-
filter: {
33-
enabled: true,
34-
expression: '(http.referer contains "kingtraf.com")'
35-
}
36-
}
3715
]
3816
},
3917
speedOptimization: {
@@ -44,30 +22,6 @@ module.exports = {
4422
prefetchURLs: 'on'
4523
},
4624
workers: {
47-
sitemapCurasao: {
48-
pattern: '*$DOMAIN/sitemap.xml*',
49-
script: 'sitemap-curasao'
50-
},
51-
sitemapMalta: {
52-
pattern: '*$DOMAIN/sitemap.xml*',
53-
script: 'sitemap-malta'
54-
},
55-
sitemapAustralia: {
56-
pattern: '*$DOMAIN/sitemap.xml*',
57-
script: 'sitemap-xml-au'
58-
},
59-
robotsCurasao: {
60-
pattern: '*$DOMAIN/robots.txt*',
61-
script: 'kingbillycasinocom-robotstxt'
62-
},
63-
robotsMalta: {
64-
pattern: '*$DOMAIN/robots.txt*',
65-
script: 'kingbillycom-robotstxt'
66-
},
67-
robotsAustralia: {
68-
pattern: '*$DOMAIN/robots.txt*',
69-
script: 'robots_block_seo'
70-
},
7125
disableApi: {
7226
pattern: '*$DOMAIN/api/*',
7327
script: null
@@ -126,6 +80,6 @@ module.exports = {
12680
argoSmartRouting: 'on'
12781
},
12882
scrapeShield: {
129-
hotlinkProtection: 'off'
83+
hotlinkProtection: 'on'
13084
}
13185
}

0 commit comments

Comments
 (0)