- 在siteConfig中添加url字段配置,指定了完整的HTTPS地址和端口 - 更新RSS订阅源,使用配置中的URL作为站点基础地址 - 修改robots.txt,阻止所有爬虫访问以保护隐私 - 添加.ts类型定义以支持URL配置 - 在.gitignore中排除nginx可执行文件目录
38 lines
354 B
Plaintext
38 lines
354 B
Plaintext
# build output
|
|
dist/
|
|
|
|
# generated types
|
|
.astro/
|
|
|
|
# dependencies
|
|
node_modules/
|
|
|
|
# logs
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
|
|
# environment variables
|
|
.env
|
|
.env.production
|
|
|
|
# macOS-specific files
|
|
.DS_Store
|
|
|
|
# Vercel
|
|
.vercel
|
|
|
|
# lock files
|
|
pnpm-lock.yaml
|
|
package-lock.json
|
|
bun.lockb
|
|
yarn.lock
|
|
|
|
# ide
|
|
.idea
|
|
*.iml
|
|
|
|
# Nginx exec
|
|
nginx/
|