File tree Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Expand file tree Collapse file tree 3 files changed +2
-14
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " labelzoom-cf-api-proxy" ,
3
3
"description" : " A Cloudflare Worker that serves as a reverse proxy for LabelZoom's public REST API" ,
4
- "version" : " 1.1.1 " ,
4
+ "version" : " 1.1.2 " ,
5
5
"private" : true ,
6
6
"dependencies" : {
7
7
"hono" : " 4.7.7" ,
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ app.notFound((c) => {
100
100
return proxyToBackend ( {
101
101
baseUrl : c . env . LZ_PROD_API_BASE_URL ,
102
102
headers : {
103
- 'X-LZ-IP' : c . req . header ( "Cf-Connecting-Ip" ) ?? c . req . header ( "X-Forwarded-For" ) ?? '' ,
103
+ 'X-LZ-IP' : c . req . header ( "Cf-Connecting-Ip" ) || c . req . header ( "X-Forwarded-For" ) || '' ,
104
104
'X-LZ-Secret-Key' : c . env . LZ_PROD_API_SECRET_KEY ,
105
105
} ,
106
106
} ) ( c ) ;
Original file line number Diff line number Diff line change 46
46
"localConnectionString" :
" mysql://lz_hyperdrive:[email protected] :3306/lz_spring"
47
47
}
48
48
],
49
- "secrets_store_secrets" : [
50
- {
51
- "binding" : " LZ_PRIVATE_KEY" ,
52
- "store_id" : " 389643fca29849239d4465af799a0b28" ,
53
- "secret_name" : " LZ_PRIVATE_KEY"
54
- },
55
- {
56
- "binding" : " LZ_PUBLIC_KEY" ,
57
- "store_id" : " 389643fca29849239d4465af799a0b28" ,
58
- "secret_name" : " LZ_PUBLIC_KEY"
59
- },
60
- ],
61
49
62
50
/**
63
51
* Environment Variables
You can’t perform that action at this time.
0 commit comments