File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5
5
[ ![ Build Status] ( https://github.com/labelzoom/labelzoom-cf-api-proxy/actions/workflows/deploy.yml/badge.svg?branch=main )] ( https://github.com/labelzoom/labelzoom-cf-api-proxy/actions?query=branch%3Amain )
6
6
7
7
Cloudflare Worker that serves as a reverse proxy for LabelZoom's public REST API
8
-
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ name = "labelzoom-cf-api-proxy"
3
3
main = " src/index.ts"
4
4
compatibility_date = " 2024-08-06"
5
5
compatibility_flags = [" nodejs_compat" ]
6
- tail_consumers = [{service = " labelzoom-cf-api-proxy-tail" }]
6
+ tail_consumers = [
7
+ { service = " labelzoom-cf-api-proxy-tail" , environment = " production" }
8
+ ]
7
9
8
10
[limits ]
9
11
cpu_ms = 100
@@ -21,7 +23,7 @@ cpu_ms = 100
21
23
# Note: Use secrets to store sensitive data.
22
24
# - https://developers.cloudflare.com/workers/configuration/secrets/
23
25
[vars ]
24
- LZ_LOG_SAMPLE_RATE = 0 .0
26
+ LZ_LOG_SAMPLE_RATE = 1 .0
25
27
LZ_PROD_API_BASE_URL = " https://api-backend.labelzoom.net"
26
28
# LZ_PROD_API_SECRET_KEY = <SECRET>
27
29
You can’t perform that action at this time.
0 commit comments