chore: sync all pending prototype changes

This commit is contained in:
2026-02-20 16:49:54 +08:00
parent f407288701
commit 80d9789c70
3 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
{
"permissions": {
"allow": [
"Bash(python scripts/search.py:*)",
"Bash(git config:*)",
"Bash(findstr:*)",
"Bash(git remote add:*)",
"Bash(git remote set-url:*)",
"Bash(git push:*)",
"Bash(git branch:*)",
"Bash(git fetch:*)",
"Bash(git checkout:*)",
"Bash(git stash:*)",
"Bash(git merge:*)",
"Bash(git reset:*)",
"Bash(git ls-tree:*)",
"Bash(dir:*)",
"Bash(python -c:*)",
"Bash(python:*)",
"Bash(python3:*)",
"Bash(git -C \"D:\\\\MsuMshkCode\\\\TakeoutSaaS.Prototypes\" rev-parse --show-toplevel)",
"Bash(git init:*)",
"Bash(git add:*)",
"Bash(git commit -m \"$\\(cat <<''EOF''\nfeat: init project with pages and index\nEOF\n\\)\")"
]
},
"enableAllProjectMcpServers": true,
"enabledMcpjsonServers": [
"dbhub"
]
}

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
services:
nginx:
image: nginx:latest
ports:
- "3000:80"
volumes:
- ./:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro

16
nginx.conf Normal file
View File

@@ -0,0 +1,16 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
# 开发环境禁用缓存
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0";
add_header Pragma "no-cache";
expires -1;
location / {
try_files $uri $uri/ /index.html;
}
}