no redirection on 404

This commit is contained in:
lovasoa
2024-11-20 19:44:37 +01:00
parent 246242b75b
commit e455407c04
+1 -3
View File
@@ -1,5 +1,3 @@
select 'redirect' as component, '/404.sql' as link where sqlpage.path() <> '/404.sql';
select 'status_code' as component, 404 as status;
select 'http_header' as component, 'no-store, max-age=0' as "Cache-Control";
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
@@ -7,4 +5,4 @@ select 'dynamic' as component, properties FROM example WHERE component = 'shell'
select 'hero' as component,
'Not Found' as title,
'Sorry, we couldn''t find the page you were looking for.' as description_md,
'/your-first-sql-website/not_found.jpg' as image;
'/your-first-sql-website/not_found.jpg' as image;