Files
ai-course/node_modules/connect-history-api-fallback/package.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL
- 修复 HomePage.tsx 中所有图片引用
- 修复 CoursePage.tsx 中所有图片引用
- 确保图片在 GitHub Pages 上正确加载

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:24:45 +08:00

41 lines
853 B
JSON

{
"name": "connect-history-api-fallback",
"version": "2.0.0",
"description": "Provides a fallback for non-existing directories so that the HTML 5 history API can be used.",
"keyswords": [
"connect",
"express",
"html5",
"history api",
"fallback",
"spa"
],
"engines": {
"node": ">=0.8"
},
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"test": "jest && eslint lib/*.js test/*.js"
},
"repository": {
"type": "git",
"url": "http://github.com/bripkens/connect-history-api-fallback.git"
},
"author": {
"name": "Ben Ripkens",
"email": "bripkens@gmail.com"
},
"contributors": [
"Craig Myles <cr@igmyles.com> (http://www.craigmyles.com)"
],
"license": "MIT",
"devDependencies": {
"eslint": "^5.16.0",
"jest": "^24.8.0",
"sinon": "^7.3.2"
}
}