mirror of
https://github.com/open-webui/open-webui.git
synced 2025-08-18 16:17:51 +02:00
error page added
This commit is contained in:
5
src/routes/+error.svelte
Normal file
5
src/routes/+error.svelte
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<script>
|
||||||
|
import { page } from '$app/stores';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div>{$page.status}: {$page.error.message}</div>
|
@@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
models: models
|
models: models ? models.models : []
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user