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:
12
.github/workflows/cloudflare-pages.yml
vendored
12
.github/workflows/cloudflare-pages.yml
vendored
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user