Add self hosted icons, fix some colors and style status icon

This commit is contained in:
2025-02-06 10:54:12 -05:00
parent 29b0bc6806
commit 44461ceef8
5 changed files with 119 additions and 77 deletions

View File

@@ -20,8 +20,8 @@ export default defineConfig(({ mode }) => {
target: 'https://uptime.kent.pw',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
configure: (proxy, options) => {
proxy.on('proxyReq', (proxyReq, req, res) => {
configure: (proxy, _options) => {
proxy.on('proxyReq', (proxyReq, _req, _res) => {
proxyReq.setHeader('Authorization', `Basic ${Buffer.from(':' + apiKey).toString('base64')}`)
})
}