Merge pull request #84 from sijinhui/dev

Dev
This commit is contained in:
sijinhui 2024-05-03 17:15:57 +08:00 committed by GitHub
commit 3f28699f86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 12 additions and 6 deletions

View File

@ -21,7 +21,7 @@
"@hello-pangea/dnd": "^16.5.0",
"@next-auth/prisma-adapter": "^1.0.7",
"@next/third-parties": "^14.2.1",
"@prisma/client": "5.12.1",
"@prisma/client": "5.13.0",
"@svgr/webpack": "^8.1.0",
"@vercel/analytics": "^1.1.2",
"@vercel/speed-insights": "^1.0.9",
@ -81,7 +81,7 @@
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.5.11",
"prisma": "^5.12.1",
"prisma": "^5.13.0",
"tailwindcss": "^3.4.1",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.3.3",

View File

@ -68,7 +68,7 @@ model Session {
model LogEntry {
id Int @id @default(autoincrement())
ip String? @db.VarChar(25)
ip String? @db.VarChar(50) // IPV6 long 39
path String? @db.Text
model String? @db.VarChar(25)
userName String? @db.VarChar(50)

View File

@ -10,9 +10,15 @@ yarn config set sharp_libvips_binary_host "https://npm.taobao.org/mirrors/sharp-
#yarn config delete sharp_libvips_binary_host
#yarn cache clean
#yarn install
npm i cnpm
cnpm i
yarn install
#if command -v cnpm &> /dev/null
#then
# echo "cnpm 已安装"
#else
# npm i cnpm
#fi
#
#cnpm i
yarn run build
mkdir -p "./node_modules/tiktoken"