From cf15fe64b764e039f5de0cdfca5564b6fbd6cf81 Mon Sep 17 00:00:00 2001 From: Daniel Kapitany Date: Tue, 5 Mar 2024 19:55:24 +0100 Subject: [PATCH] Change schema url to raw github content --- packages/vite-plugin-web-extension/src/manifest-validation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite-plugin-web-extension/src/manifest-validation.ts b/packages/vite-plugin-web-extension/src/manifest-validation.ts index f511ad2d..4061e9be 100644 --- a/packages/vite-plugin-web-extension/src/manifest-validation.ts +++ b/packages/vite-plugin-web-extension/src/manifest-validation.ts @@ -5,7 +5,7 @@ import { inspect } from "node:util"; import Ajv from "ajv"; import { withTimeout } from "./utils"; -const SCHEMA_URL = new URL("https://json.schemastore.org/chrome-manifest"); +const SCHEMA_URL = new URL("https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/chrome-manifest.json"); export type ValidateManifest = (manifest: any | undefined) => Promise;