This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mi.example.cloud { | |
| request_body { | |
| max_size 10GB | |
| } | |
| route { | |
| @webdav method MKCOL COPY MOVE PROPFIND PROPPATCH LOCK UNLOCK | |
| reverse_proxy @webdav 127.0.0.1:9200 { | |
| request_buffers 1 | |
| header_up Host {host} | |
| header_up X-Real-IP {remote_host} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from 'axios'; | |
| import colorLib from '@kurkle/color'; | |
| interface ChartOptions { | |
| height?: number; | |
| width?: number; | |
| } | |
| export const chartJsToImage = async ( | |
| chartConfig: unknown, |