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 11{
22 "name" : " labelzoom-cf-api-proxy" ,
33 "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 " ,
55 "private" : true ,
66 "dependencies" : {
77 "hono" : " 4.7.7" ,
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ app.notFound((c) => {
100100 return proxyToBackend ( {
101101 baseUrl : c . env . LZ_PROD_API_BASE_URL ,
102102 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" ) || '' ,
104104 'X-LZ-Secret-Key' : c . env . LZ_PROD_API_SECRET_KEY ,
105105 } ,
106106 } ) ( c ) ;
Original file line number Diff line number Diff line change 4646 "localConnectionString" : " mysql://lz_hyperdrive:Uid4lDiH5pltxYBFFNqe@ubuntu-database.internal.robfaust.com:3306/lz_spring"
4747 }
4848 ],
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- ],
6149
6250 /**
6351 * Environment Variables
You can’t perform that action at this time.
0 commit comments