mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-14 08:17:31 +08:00
fix path
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
|||||||
npm install --prefix webui
|
npm install --prefix webui
|
||||||
fi
|
fi
|
||||||
npm run build --prefix webui
|
npm run build --prefix webui
|
||||||
tar -czf build/clawgo-webui-dist-${{ github.sha }}.tar.gz -C webui dist
|
tar -czf build/webui.tar.gz -C webui dist
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ func gatewayCmd() {
|
|||||||
registryServer.SetConfigPath(getConfigPath())
|
registryServer.SetConfigPath(getConfigPath())
|
||||||
registryServer.SetWorkspacePath(cfg.WorkspacePath())
|
registryServer.SetWorkspacePath(cfg.WorkspacePath())
|
||||||
registryServer.SetLogFilePath(cfg.LogFilePath())
|
registryServer.SetLogFilePath(cfg.LogFilePath())
|
||||||
registryServer.SetWebUIDir(filepath.Join(cfg.WorkspacePath(), "webui-dist"))
|
registryServer.SetWebUIDir(filepath.Join(cfg.WorkspacePath(), "webui"))
|
||||||
registryServer.SetChatHandler(func(cctx context.Context, sessionKey, content string) (string, error) {
|
registryServer.SetChatHandler(func(cctx context.Context, sessionKey, content string) (string, error) {
|
||||||
if strings.TrimSpace(content) == "" {
|
if strings.TrimSpace(content) == "" {
|
||||||
return "", nil
|
return "", nil
|
||||||
|
|||||||
Reference in New Issue
Block a user