Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/common/errors/error-500.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</h1>
<h4 class="text-uppercase">Internal Server Error</h4>
<div class="mt-5 text-center">
<Link class="btn btn-primary" href="/dashboard">
<Link class="btn btn-primary" href="/page/dashboard">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change to ‘page/dashboard’ without root path.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will fix it tomorrow and test it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change to ‘page/dashboard’ without root path.

I have removed the root path and test it.

I found another issue that the logos, in login and forget password page, have links to Dashboard page. I think these two links should be removed. (I didn't remove them in this commit)

Back to Dashboard
</Link>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/(authentication)/recoverpw/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</div>
<CardBody class="pt-0">
<div>
<Link href="/dashboard">
<Link href="/page/dashboard">
<div class="avatar-md profile-user-wid mb-4">
<span class="avatar-title rounded-circle bg-light">
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="34" />
Expand All @@ -41,7 +41,7 @@
Enter your Email and instructions will be sent to you!
</Alert>

<Form class="form-horizontal" action="/dashboard">
<Form class="form-horizontal" action="/page/dashboard">
<div class="mb-3">
<Label for="useremail" class="form-label">Email</Label>
<Input
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(authentication)/register/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</div>
<CardBody class="pt-0">
<div>
<Link href="/dashboard">
<Link href="/page/dashboard">
<div class="avatar-md profile-user-wid mb-4">
<span class="avatar-title rounded-circle bg-light">
<img src={PUBLIC_LOGO_URL} alt="" class="rounded-circle" height="34" />
Expand Down
4 changes: 2 additions & 2 deletions src/routes/VerticalLayout/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="d-flex">
<!-- LOGO -->
<div class="navbar-brand-box">
<a href="/dashboard" class="logo logo-dark">
<a href="/page/dashboard" class="logo logo-dark">
<span class="logo-sm">
<img src={PUBLIC_LOGO_URL} alt="" height="25" />
</span>
Expand All @@ -57,7 +57,7 @@
</span>
</a>

<a href="/dashboard" class="logo logo-light">
<a href="/page/dashboard" class="logo logo-light">
<span class="logo-sm">
<img src={PUBLIC_LOGO_URL} alt="" height="25" />
</span>
Expand Down
3 changes: 2 additions & 1 deletion src/routes/page/agent/[agentId]/agent-llm-config.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
async function handleProviderChanged(provider) {
config.is_inherit = false;
models = await getLlmProviderModels(provider);
config.model = models[0]?.name;
}
</script>

Expand Down Expand Up @@ -60,4 +61,4 @@
</div>
</div>
</CardBody>
</Card>
</Card>