mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Protect database backup, export, restore, and translator save endpoints with authentication checks to block unauthenticated data access and state changes. Also remove the insecure API key secret fallback, ignore nested app env files from package publishes, and align tests with explicit application/json Accept headers for non-stream requests
75 lines
1.0 KiB
Plaintext
75 lines
1.0 KiB
Plaintext
# Database files - NEVER publish
|
|
data/
|
|
**/data/
|
|
**/db.json
|
|
|
|
# VS Code extension test runtime (large binary, not needed in npm package)
|
|
app/vscode-extension/
|
|
**/data/
|
|
**/db.json
|
|
|
|
# Source code (pre-built app/ is published instead)
|
|
src/
|
|
open-sse/
|
|
docs/
|
|
tests/
|
|
cloud/
|
|
images/
|
|
logs/
|
|
scripts/
|
|
|
|
# Config/dev files
|
|
*.md
|
|
!README.md
|
|
.gitignore
|
|
.git/
|
|
.github/
|
|
.husky/
|
|
.vscode/
|
|
.agents/
|
|
.env*
|
|
app/.env
|
|
app/.env*
|
|
eslint.config.mjs
|
|
prettier.config.mjs
|
|
postcss.config.mjs
|
|
next.config.mjs
|
|
tsconfig.json
|
|
tsconfig.typecheck-core.json
|
|
tsconfig.typecheck-noimplicit-core.json
|
|
playwright.config.ts
|
|
vitest.config.ts
|
|
next-env.d.ts
|
|
llm.txt
|
|
|
|
# Docker
|
|
docker-compose*.yml
|
|
Dockerfile
|
|
.dockerignore
|
|
|
|
# Misc
|
|
AGENTS.md
|
|
bun.lock
|
|
|
|
# Build artifacts (pre-built goes inside app/)
|
|
.next/
|
|
node_modules/
|
|
|
|
# Ignore large binary files and other build directories
|
|
*.tgz
|
|
*.AppImage
|
|
*.deb
|
|
*.rpm
|
|
electron/
|
|
app/electron/
|
|
app/vscode-extension/
|
|
|
|
# Subprojects
|
|
clipr/
|
|
omnirouteCloud/
|
|
omnirouteSite/
|
|
vscode-extension/
|
|
|
|
# Root-level underscore-prefixed directories (private/draft — never publish)
|
|
/_*/
|