fix: rename AskAI to BlogAI to avoid OAuth conflict

OAuth comment system JavaScript was overriding window.AskAI
causing 'AskAI.toggle is not a function' error. Renamed to
BlogAI to prevent naming conflicts.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-06-14 18:34:42 +09:00
parent 6462ea6f56
commit ddac65982b
3 changed files with 7 additions and 13 deletions

View File

@@ -34,16 +34,10 @@ jobs:
- name: Copy OAuth build to static
run: |
# Remove old OAuth assets only
# Remove old assets (following run.zsh pattern)
rm -rf my-blog/static/assets
rm -rf my-blog/static/oauth
rm -f my-blog/static/client-metadata.json
# Copy OAuth dist files to static (preserving existing files)
mkdir -p my-blog/static/assets
cp -r oauth/dist/assets/* my-blog/static/assets/
cp oauth/dist/client-metadata.json my-blog/static/
mkdir -p my-blog/static/oauth
cp oauth/dist/index.html my-blog/static/oauth/index.html
# Copy all dist files to static
cp -rf oauth/dist/* my-blog/static/
# Copy index.html to oauth-assets.html template
cp oauth/dist/index.html my-blog/templates/oauth-assets.html