fix: attempt to fix ping redirects (#1829)
This commit is contained in:
@@ -45,11 +45,6 @@ export const appRouter = createTRPCRouter({
|
|||||||
|
|
||||||
return await axios
|
return await axios
|
||||||
.get(app.url, {
|
.get(app.url, {
|
||||||
method: 'GET',
|
|
||||||
headers: {
|
|
||||||
// Cache for 5 minutes
|
|
||||||
'Cache-Control': 'max-age=300',
|
|
||||||
},
|
|
||||||
httpsAgent: agent,
|
httpsAgent: agent,
|
||||||
timeout: 12 * 1000, // 12 seconds
|
timeout: 12 * 1000, // 12 seconds
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user