update
This commit is contained in:
.github/workflows
Cargo.tomlai-conversation
.env.env.productionbuild-minimal.jsindex.html
json
ai.syui.ai_chat_comment.jsonai.syui.ai_chat_lang.jsonai.syui.ai_log.jsonai.syui.ai_user.jsonsyui.syui.ai_chat.jsonsyui.syui.ai_log.json
package.jsonsrc
App.cssApp.jsx
vite.config.jsapi
components
AskAI.jsxAuthButton.jsxAvatar.jsxAvatarImage.jsxAvatarTest.jsxAvatarTestPanel.jsxChatRecordList.jsxCommentForm.jsxLoadingSkeleton.jsxOAuthCallback.jsxProfileForm.jsxProfileRecordList.jsxRecordList.jsxRecordTabs.jsxTestUI.jsxUserLookup.jsx
config
hooks
main.jsxservices
utils
my-blog/templates
oauth
scpt
src
13
scpt/run.zsh
13
scpt/run.zsh
@@ -43,16 +43,6 @@ function _oauth_build() {
|
||||
#npm run preview
|
||||
}
|
||||
|
||||
function _ai_conversation_build() {
|
||||
cd $d/ai-conversation
|
||||
nvm use 21
|
||||
npm i
|
||||
npm run build
|
||||
rm -rf $myblog/static/ai-assets
|
||||
mkdir -p $myblog/static/ai-assets
|
||||
cp -rf dist/assets/* $myblog/static/ai-assets/
|
||||
cp $d/ai-conversation/dist/index.html $myblog/templates/ai-conversation-assets.html
|
||||
}
|
||||
|
||||
function _server_comment() {
|
||||
cargo build
|
||||
@@ -75,9 +65,6 @@ case "${1:-serve}" in
|
||||
oauth|o)
|
||||
_oauth_build
|
||||
;;
|
||||
ai|a)
|
||||
_ai_conversation_build
|
||||
;;
|
||||
n)
|
||||
oauth=$d/oauth_old
|
||||
_oauth_build
|
||||
|
Reference in New Issue
Block a user