diff --git a/client/layouts/error.vue b/client/layouts/error.vue
new file mode 100644
index 00000000..513b51aa
--- /dev/null
+++ b/client/layouts/error.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+ audiobookshelf
+
+
+
+
+
+
+
+
+
{{ statusCode }}
+
{{ message }}
+
+
+
+
+
+
+
+
diff --git a/client/pages/share/_slug.vue b/client/pages/share/_slug.vue
index 14d98c3f..acc099eb 100644
--- a/client/pages/share/_slug.vue
+++ b/client/pages/share/_slug.vue
@@ -31,7 +31,7 @@ export default {
return null
})
if (!mediaItemShare) {
- return error({ statusCode: 404, message: 'Not found' })
+ return error({ statusCode: 404, message: 'Media item not found or expired' })
}
return {