Spaces:
Runtime error
Runtime error
update the theme
Browse files- .env +1 -1
- README.md +1 -1
- license +1 -1
- package.json +1 -1
- service/package.json +1 -1
- src/components/common/UserAvatar/index.vue +1 -1
- src/store/modules/app/helper.ts +1 -1
- src/store/modules/user/helper.ts +3 -3
.env
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# Glob API URL
|
| 2 |
VITE_GLOB_API_URL=/api
|
| 3 |
|
| 4 |
-
VITE_APP_API_BASE_URL=http://127.0.0.1:
|
| 5 |
|
| 6 |
# Whether long replies are supported, which may result in higher API fees
|
| 7 |
VITE_GLOB_OPEN_LONG_REPLY=false
|
|
|
|
| 1 |
# Glob API URL
|
| 2 |
VITE_GLOB_API_URL=/api
|
| 3 |
|
| 4 |
+
VITE_APP_API_BASE_URL=http://127.0.0.1:7860/
|
| 5 |
|
| 6 |
# Whether long replies are supported, which may result in higher API fees
|
| 7 |
VITE_GLOB_OPEN_LONG_REPLY=false
|
README.md
CHANGED
|
@@ -346,4 +346,4 @@ A: 一种可能原因是经过 Nginx 反向代理,开启了 buffer,则 Nginx
|
|
| 346 |
</div>
|
| 347 |
|
| 348 |
## License
|
| 349 |
-
MIT © [
|
|
|
|
| 346 |
</div>
|
| 347 |
|
| 348 |
## License
|
| 349 |
+
MIT © [MossTech](./license)
|
license
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
MIT License
|
| 2 |
|
| 3 |
-
Copyright (c) 2023
|
| 4 |
|
| 5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
| 1 |
MIT License
|
| 2 |
|
| 3 |
+
Copyright (c) 2023 MossTech
|
| 4 |
|
| 5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
of this software and associated documentation files (the "Software"), to deal
|
package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"version": "2.10.9",
|
| 4 |
"private": false,
|
| 5 |
"description": "ChatGPT Web",
|
| 6 |
-
"author": "
|
| 7 |
"keywords": [
|
| 8 |
"chatgpt-web",
|
| 9 |
"chatgpt",
|
|
|
|
| 3 |
"version": "2.10.9",
|
| 4 |
"private": false,
|
| 5 |
"description": "ChatGPT Web",
|
| 6 |
+
"author": "MossTech <leurez.ssom@gmail.com>",
|
| 7 |
"keywords": [
|
| 8 |
"chatgpt-web",
|
| 9 |
"chatgpt",
|
service/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"version": "1.0.0",
|
| 4 |
"private": false,
|
| 5 |
"description": "ChatGPT Web Service",
|
| 6 |
-
"author": "
|
| 7 |
"keywords": [
|
| 8 |
"chatgpt-web",
|
| 9 |
"chatgpt",
|
|
|
|
| 3 |
"version": "1.0.0",
|
| 4 |
"private": false,
|
| 5 |
"description": "ChatGPT Web Service",
|
| 6 |
+
"author": "MossTech <leurez@gmail.com>",
|
| 7 |
"keywords": [
|
| 8 |
"chatgpt-web",
|
| 9 |
"chatgpt",
|
src/components/common/UserAvatar/index.vue
CHANGED
|
@@ -27,7 +27,7 @@ const userInfo = computed(() => userStore.userInfo)
|
|
| 27 |
</div>
|
| 28 |
<div class="flex-1 min-w-0 ml-2">
|
| 29 |
<h2 class="overflow-hidden font-bold text-md text-ellipsis whitespace-nowrap">
|
| 30 |
-
{{ userInfo.name ?? '
|
| 31 |
</h2>
|
| 32 |
<p class="overflow-hidden text-xs text-gray-500 text-ellipsis whitespace-nowrap">
|
| 33 |
<span
|
|
|
|
| 27 |
</div>
|
| 28 |
<div class="flex-1 min-w-0 ml-2">
|
| 29 |
<h2 class="overflow-hidden font-bold text-md text-ellipsis whitespace-nowrap">
|
| 30 |
+
{{ userInfo.name ?? 'MossTech' }}
|
| 31 |
</h2>
|
| 32 |
<p class="overflow-hidden text-xs text-gray-500 text-ellipsis whitespace-nowrap">
|
| 33 |
<span
|
src/store/modules/app/helper.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface AppState {
|
|
| 13 |
}
|
| 14 |
|
| 15 |
export function defaultSetting(): AppState {
|
| 16 |
-
return { siderCollapsed: false, theme: '
|
| 17 |
}
|
| 18 |
|
| 19 |
export function getLocalSetting(): AppState {
|
|
|
|
| 13 |
}
|
| 14 |
|
| 15 |
export function defaultSetting(): AppState {
|
| 16 |
+
return { siderCollapsed: false, theme: 'dark', language: 'zh-CN' }
|
| 17 |
}
|
| 18 |
|
| 19 |
export function getLocalSetting(): AppState {
|
src/store/modules/user/helper.ts
CHANGED
|
@@ -15,9 +15,9 @@ export interface UserState {
|
|
| 15 |
export function defaultSetting(): UserState {
|
| 16 |
return {
|
| 17 |
userInfo: {
|
| 18 |
-
avatar: 'https://
|
| 19 |
-
name: '
|
| 20 |
-
description: '
|
| 21 |
},
|
| 22 |
}
|
| 23 |
}
|
|
|
|
| 15 |
export function defaultSetting(): UserState {
|
| 16 |
return {
|
| 17 |
userInfo: {
|
| 18 |
+
avatar: 'https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/noauth/YRnB9qauDWw5dcDiuVGoh.jpeg?w=200&h=200&f=face',
|
| 19 |
+
name: 'MossTech',
|
| 20 |
+
description: '莫斯科技(<a href="https://moss.run.place" class="text-blue-500" target="_blank" >MossTec</a>)',
|
| 21 |
},
|
| 22 |
}
|
| 23 |
}
|