Add self hosted icons, fix some colors and style status icon
This commit is contained in:
@@ -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')}`)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user