From 50573c26141122c298462ddb1a4dac596d9b7614 Mon Sep 17 00:00:00 2001 From: Thibault Le Ouay Date: Mon, 2 Jun 2025 08:36:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20minor=20updtae=20(#1262)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * πŸ“ minor updtae * add redirect * ci: apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- README.md | 5 ----- apps/docs/src/content/docs/index.mdx | 4 ++-- apps/server/src/routes/v1/monitors/schema.ts | 5 +++-- apps/web/src/app/(content)/(landing)/[slug]/page.tsx | 1 - apps/web/src/app/(redirect)/schema.json/page.tsx | 7 +++++++ 5 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 apps/web/src/app/(redirect)/schema.json/page.tsx diff --git a/README.md b/README.md index 78f28c038..00081fffb 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,6 @@ email us at [ping@openstatus.dev](mailto:ping@openstatus.dev) or book a call

Book us with Cal.com -## Roadmap πŸ—ΊοΈ - -Here's our [roadmap](https://openstatus.productlane.com/roadmap) feel free to -contribute to it. - ## Contributing 🀝 If you want to help us building the best status page and alerting system, you diff --git a/apps/docs/src/content/docs/index.mdx b/apps/docs/src/content/docs/index.mdx index e95a13c1f..806600f57 100644 --- a/apps/docs/src/content/docs/index.mdx +++ b/apps/docs/src/content/docs/index.mdx @@ -14,7 +14,7 @@ import "../../custom.css" ### What is OpenStatus? -[OpenStatus](https://www.openstatus.dev) is an open-source synthetic monitoring tool that helps you monitor the availability and performance of your website, API, servers, or anything that can be monitored from various locations around the world. +[OpenStatus](https://www.openstatus.dev) is an open-source synthetic monitoring tool that helps you monitor the availability and performance of your website, API, servers, or anything that can be monitored from various locations around the world. We also provide beautiful [status pages](/status-page/overview) to keep your users informed about the status of your services. @@ -47,4 +47,4 @@ Join the commmunity to get help, share your ideas or just to say hi. - \ No newline at end of file + diff --git a/apps/server/src/routes/v1/monitors/schema.ts b/apps/server/src/routes/v1/monitors/schema.ts index 3e40a51fa..58d68e1b8 100644 --- a/apps/server/src/routes/v1/monitors/schema.ts +++ b/apps/server/src/routes/v1/monitors/schema.ts @@ -194,10 +194,11 @@ export const MonitorSchema = z .default(false) .openapi({ description: "If the monitor is public" }), degradedAfter: z.number().nullish().openapi({ - description: "The time after the monitor is considered degraded", + description: + "The time after the monitor is considered degraded in milliseconds", }), timeout: z.number().nullish().default(45000).openapi({ - description: "The timeout of the request", + description: "The timeout of the request in milliseconds", }), jobType: z.enum(monitorJobTypes).optional().default("http").openapi({ description: "The type of the monitor", diff --git a/apps/web/src/app/(content)/(landing)/[slug]/page.tsx b/apps/web/src/app/(content)/(landing)/[slug]/page.tsx index 906165e04..025c062fe 100644 --- a/apps/web/src/app/(content)/(landing)/[slug]/page.tsx +++ b/apps/web/src/app/(content)/(landing)/[slug]/page.tsx @@ -6,7 +6,6 @@ import { import { landingsConfig } from "@/config/landings"; import { Button } from "@openstatus/ui"; import type { Metadata } from "next"; -import Image from "next/image"; import Link from "next/link"; import { notFound } from "next/navigation"; diff --git a/apps/web/src/app/(redirect)/schema.json/page.tsx b/apps/web/src/app/(redirect)/schema.json/page.tsx new file mode 100644 index 000000000..d4261894c --- /dev/null +++ b/apps/web/src/app/(redirect)/schema.json/page.tsx @@ -0,0 +1,7 @@ +import { redirect } from "next/navigation"; + +export default function SchemaJsonRedirect() { + return redirect( + "https://github.com/openstatusHQ/json-schema/releases/latest/download/schema.json", + ); +} -- 2.51.2