Spaces:
Paused
Paused
muxi feng commited on
Commit ·
f4ed138
1
Parent(s): 2c42897
修复编译bug
Browse files- app/store/user.ts +1 -1
- scripts/fetch-prompts.mjs +2 -2
app/store/user.ts
CHANGED
|
@@ -99,7 +99,7 @@ export const DEFAULT_USER = {
|
|
| 99 |
password: "",
|
| 100 |
name: "",
|
| 101 |
wallet: 0,
|
| 102 |
-
vip_time:
|
| 103 |
mail: "",
|
| 104 |
sig_state: "",
|
| 105 |
head: "",
|
|
|
|
| 99 |
password: "",
|
| 100 |
name: "",
|
| 101 |
wallet: 0,
|
| 102 |
+
vip_time: "2000-01-01",
|
| 103 |
mail: "",
|
| 104 |
sig_state: "",
|
| 105 |
head: "",
|
scripts/fetch-prompts.mjs
CHANGED
|
@@ -5,9 +5,9 @@ const RAW_FILE_URL = "https://raw.githubusercontent.com/";
|
|
| 5 |
const MIRRORF_FILE_URL = "https://raw.fgit.ml/";
|
| 6 |
|
| 7 |
const RAW_CN_URL = "PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json";
|
| 8 |
-
const CN_URL =
|
| 9 |
const RAW_EN_URL = "f/awesome-chatgpt-prompts/main/prompts.csv";
|
| 10 |
-
const EN_URL =
|
| 11 |
const FILE = "./public/prompts.json";
|
| 12 |
|
| 13 |
const timeoutPromise = (timeout) => {
|
|
|
|
| 5 |
const MIRRORF_FILE_URL = "https://raw.fgit.ml/";
|
| 6 |
|
| 7 |
const RAW_CN_URL = "PlexPt/awesome-chatgpt-prompts-zh/main/prompts-zh.json";
|
| 8 |
+
const CN_URL = RAW_FILE_URL + RAW_CN_URL;
|
| 9 |
const RAW_EN_URL = "f/awesome-chatgpt-prompts/main/prompts.csv";
|
| 10 |
+
const EN_URL = RAW_FILE_URL + RAW_EN_URL;
|
| 11 |
const FILE = "./public/prompts.json";
|
| 12 |
|
| 13 |
const timeoutPromise = (timeout) => {
|