diff --git a/www/config.html b/www/config.html
index fe84275c..026b5beb 100644
--- a/www/config.html
+++ b/www/config.html
@@ -1205,7 +1205,7 @@
(async () => {
try {
- const r = await fetch('https://go2rtc.org/schema.json', {cache: 'no-cache'});
+ const r = await fetch('schema.json', {cache: 'no-cache'});
if (r.ok) setupYamlHints(await r.json());
} catch (e) {
// ignore schema load errors
diff --git a/website/schema.json b/www/schema.json
similarity index 100%
rename from website/schema.json
rename to www/schema.json
diff --git a/www/static.go b/www/static.go
index 01f50906..064fec36 100644
--- a/www/static.go
+++ b/www/static.go
@@ -4,4 +4,5 @@ import "embed"
//go:embed *.html
//go:embed *.js
+//go:embed *.json
var Static embed.FS