Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
2eea7643
Unverified
Commit
2eea7643
authored
Oct 21, 2023
by
AJ ONeal
Browse files
fix: contants => constants
parent
dee478e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
src/lib/constants.ts
src/lib/constants.ts
+0
-0
src/routes/+page.server.ts
src/routes/+page.server.ts
+1
-1
src/routes/+page.svelte
src/routes/+page.svelte
+1
-1
No files found.
src/lib/contants.ts
→
src/lib/con
s
tants.ts
View file @
2eea7643
File moved
src/routes/+page.server.ts
View file @
2eea7643
import
{
ENDPOINT
}
from
'
$lib/contants
'
;
import
{
ENDPOINT
}
from
'
$lib/con
s
tants
'
;
import
type
{
PageServerLoad
}
from
'
./$types
'
;
import
type
{
PageServerLoad
}
from
'
./$types
'
;
export
const
load
:
PageServerLoad
=
async
({
url
})
=>
{
export
const
load
:
PageServerLoad
=
async
({
url
})
=>
{
...
...
src/routes/+page.svelte
View file @
2eea7643
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
import 'highlight.js/styles/dark.min.css';
import 'highlight.js/styles/dark.min.css';
import type { PageData } from './$types';
import type { PageData } from './$types';
import { ENDPOINT as SERVER_ENDPOINT } from '$lib/contants';
import { ENDPOINT as SERVER_ENDPOINT } from '$lib/con
s
tants';
import { onMount, tick } from 'svelte';
import { onMount, tick } from 'svelte';
import { page } from '$app/stores';
import { page } from '$app/stores';
const suggestions = $page.url.searchParams.get('suggestions');
const suggestions = $page.url.searchParams.get('suggestions');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment