Skip to content

Commit e455407

Browse files
committed
no redirection on 404
1 parent 246242b commit e455407

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/official-site/404.sql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
select 'redirect' as component, '/404.sql' as link where sqlpage.path() <> '/404.sql';
2-
31
select 'status_code' as component, 404 as status;
42
select 'http_header' as component, 'no-store, max-age=0' as "Cache-Control";
53
select 'dynamic' as component, properties FROM example WHERE component = 'shell' LIMIT 1;
64

75
select 'hero' as component,
86
'Not Found' as title,
97
'Sorry, we couldn''t find the page you were looking for.' as description_md,
10-
'/your-first-sql-website/not_found.jpg' as image;
8+
'/your-first-sql-website/not_found.jpg' as image;

0 commit comments

Comments
 (0)