Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
bb312441
authored
May 19, 2023
by
archer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: share prompts
parent
d07e5b85
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
README.md
+2
-1
src/pages/index.tsx
+3
-1
src/service/utils/auth.ts
+2
-1
No files found.
README.md
View file @
bb312441
...
@@ -21,7 +21,8 @@ Fast GPT 允许你使用自己的 openai API KEY 来快速的调用 openai 接
...
@@ -21,7 +21,8 @@ Fast GPT 允许你使用自己的 openai API KEY 来快速的调用 openai 接
## 🚀 私有化部署
## 🚀 私有化部署
[
docker-compose 部署教程
](
docs/deploy/docker.md
)
-
[
docker-compose 部署教程
](
docs/deploy/docker.md
)
-
[
由社区贡献的宝塔部署和本地运行教程
](
https://space.bilibili.com/431177525/channel/collectiondetail?sid=1370663
)
## :point_right: RoadMap
## :point_right: RoadMap
...
...
src/pages/index.tsx
View file @
bb312441
...
@@ -26,6 +26,7 @@ const Home = () => {
...
@@ -26,6 +26,7 @@ const Home = () => {
/* 加载动画 */
/* 加载动画 */
useEffect
(()
=>
{
useEffect
(()
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
try
{
window
.
particlesJS
?.(
'particles-js'
,
{
window
.
particlesJS
?.(
'particles-js'
,
{
particles
:
{
particles
:
{
number
:
{
number
:
{
...
@@ -131,7 +132,8 @@ const Home = () => {
...
@@ -131,7 +132,8 @@ const Home = () => {
},
},
retina_detect
:
true
retina_detect
:
true
});
});
},
1000
);
}
catch
(
error
)
{}
},
500
);
},
[
isPc
]);
},
[
isPc
]);
return
(
return
(
...
...
src/service/utils/auth.ts
View file @
bb312441
...
@@ -231,7 +231,8 @@ export const authShareChat = async ({
...
@@ -231,7 +231,8 @@ export const authShareChat = async ({
const
{
model
,
showModelDetail
}
=
await
authModel
({
const
{
model
,
showModelDetail
}
=
await
authModel
({
modelId
,
modelId
,
userId
,
userId
,
authOwner
:
false
authOwner
:
false
,
reserveDetail
:
true
});
});
// 获取 user 的 apiKey
// 获取 user 的 apiKey
...
...
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