Spaces:
Running
Running
Z User commited on
Commit ·
330a308
1
Parent(s): c22a24d
security: remove .env from repo, add .env.example
Browse filesCRITICAL: .env contained API keys that were publicly visible.
- Removed .env from git tracking and all history
- Added .env to .gitignore
- Created .env.example with placeholder values
- Deploy .env via HF Space Secrets instead
- .env.example +9 -0
- .gitignore +3 -0
.env.example
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
OPENROUTER_API_KEY=sk-or-v1-your-key-here
|
| 2 |
+
OPENAI_API_KEY=sk-or-v1-your-key-here
|
| 3 |
+
OPENAI_BASE_URL=https://openrouter.ai/api/v1
|
| 4 |
+
FEISHU_APP_ID=your-app-id
|
| 5 |
+
FEISHU_APP_SECRET=your-app-secret
|
| 6 |
+
GATEWAY_ALLOW_ALL_USERS=true
|
| 7 |
+
HERMES_ACCEPT_HOOKS=1
|
| 8 |
+
MEMPALACE_PALACE_PATH=/data/hermes/palace
|
| 9 |
+
FIRECRAWL_API_KEY=your-key-here
|
.gitignore
CHANGED
|
@@ -28,3 +28,6 @@ Thumbs.db
|
|
| 28 |
|
| 29 |
# Environment
|
| 30 |
.env.local
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
# Environment
|
| 30 |
.env.local
|
| 31 |
+
|
| 32 |
+
# Secret files
|
| 33 |
+
.env
|