mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-20 21:47:02 +01:00
fix: attempt to fix ping redirects (#1829)
This commit is contained in:
@@ -45,11 +45,6 @@ export const appRouter = createTRPCRouter({
|
||||
|
||||
return await axios
|
||||
.get(app.url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
// Cache for 5 minutes
|
||||
'Cache-Control': 'max-age=300',
|
||||
},
|
||||
httpsAgent: agent,
|
||||
timeout: 12 * 1000, // 12 seconds
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user