Skip to content

fix:修改相对路径地址,获取头部及底部更新 - #136

Open
James-9696 wants to merge 1 commit into
devfrom
fix-reference-address
Open

fix:修改相对路径地址,获取头部及底部更新#136
James-9696 wants to merge 1 commit into
devfrom
fix-reference-address

Conversation

@James-9696

@James-9696 James-9696 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Bug Fixes
    • Updated the design common script to load from a local file, improving reliability when accessing the home and tech college pages.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The home and tech-college pages now load tinyui-design-common.iife.js from a local relative path instead of the remote OpenTiny URL.

Changes

Local script loading

Layer / File(s) Summary
Update page script sources
packages/home/index.html, packages/tech-college/index.html
Both pages now reference the local ./tinyui-design-common.iife.js file.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Mergeability Score: 🟡 Moderate · up to e2b53

The change updates shared bundle references in two pages, but the referenced file may not be present in the deployed output where the build emits it. If merged unchanged, shared header and footer updates may fail to load on both pages; the path or copy step should be corrected before merging.

Poem

A rabbit hops past links afar,
And finds the script right where we are.
Two pages load the local file,
Tiny paths now make them smile.
./ leads the way! 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 标题明确说明了修改相对路径,符合两个 HTML 文件更新脚本引用的主要变更。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-reference-address

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot]

This comment was marked as duplicate.

@opentiny opentiny deleted a comment from coderabbitai Bot Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant