This repository was archived by the owner on Sep 26, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { Request , Response } from 'express'
2+ import { gzipSync } from 'zlib'
3+
4+ export default ( req : Request , res : Response ) => {
5+ const data = 'hello world'
6+ const compressed = gzipSync ( Buffer . from ( data , 'utf8' ) )
7+ const base64Compressed = compressed . toString ( 'base64' )
8+
9+ res . setHeader ( 'Content-Type' , 'application/octet-stream' )
10+ res . status ( 200 ) . send ( base64Compressed )
11+ }
Original file line number Diff line number Diff line change @@ -163,22 +163,6 @@ maxParallelMaintenanceWorkers = 2
163163[storage ]
164164version = ' 0.7.1'
165165
166- [ai ]
167- version = ' 0.8.0'
168- webhookSecret = ' {{ secrets.GRAPHITE_WEBHOOK_SECRET }}'
169-
170- [ai .resources ]
171- [ai .resources .compute ]
172- cpu = 125
173- memory = 256
174-
175- [ai .openai ]
176- organization = ' '
177- apiKey = ' {{ secrets.OPENAI_API_KEY }}'
178-
179- [ai .autoEmbeddings ]
180- synchPeriodMinutes = 5
181-
182166[observability ]
183167[observability .grafana ]
184168adminPassword = ' {{ secrets.GRAFANA_ADMIN_PASSWORD }}'
You can’t perform that action at this time.
0 commit comments