From a6694d81d851014a08d09a83e20a2000c408b1c2 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Sat, 12 Nov 2022 22:32:43 +0900 Subject: [PATCH 1/2] Bumb package version --- data/constants.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/constants.ts b/data/constants.ts index 6d9a0a462..e876d613c 100644 --- a/data/constants.ts +++ b/data/constants.ts @@ -1,2 +1,2 @@ export const REPO_URL = 'ajnart/homarr'; -export const CURRENT_VERSION = 'v0.10.4'; +export const CURRENT_VERSION = 'v0.10.5'; diff --git a/package.json b/package.json index 8c7865917..455549865 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "homarr", - "version": "0.10.4", + "version": "0.10.5", "description": "Homarr - A homepage for your server.", "license": "MIT", "repository": { From 9ce569aabeccdf64d815304948529931c2f4848f Mon Sep 17 00:00:00 2001 From: Denis Yantarev Date: Sat, 19 Nov 2022 11:45:02 +0000 Subject: [PATCH 2/2] Allow self-signed certificates for ping --- src/pages/api/modules/ping.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/api/modules/ping.ts b/src/pages/api/modules/ping.ts index 6662cd8a6..de5dcc79d 100644 --- a/src/pages/api/modules/ping.ts +++ b/src/pages/api/modules/ping.ts @@ -1,11 +1,13 @@ import axios from 'axios'; +import https from 'https'; import { NextApiRequest, NextApiResponse } from 'next'; async function Get(req: NextApiRequest, res: NextApiResponse) { // Parse req.body as a ServiceItem const { url } = req.query; + const agent = new https.Agent({ rejectUnauthorized: false }); await axios - .get(url as string) + .get(url as string, { httpsAgent: agent }) .then((response) => { res.status(response.status).json(response.statusText); })