gitignore
This commit is contained in:
parent
e9df8c8fcf
commit
7dd1734075
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ node_modules
|
|||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
|
server/.env
|
||||||
|
@ -8,7 +8,7 @@ ENVIRONMENT=dev
|
|||||||
PORT=8080
|
PORT=8080
|
||||||
|
|
||||||
FRONTEND_URL="http://localhost:3000"
|
FRONTEND_URL="http://localhost:3000"
|
||||||
DATABASE_URL="file:./dev.db"
|
DATABASE_URL="file:./dev.sqlite"
|
||||||
|
|
||||||
CLEANUP_INTERVAL_SECONDS=60
|
CLEANUP_INTERVAL_SECONDS=60
|
||||||
|
|
||||||
|
18
server/.env.example
Normal file
18
server/.env.example
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Environment variables declared in this file are automatically made available to Prisma.
|
||||||
|
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
|
||||||
|
|
||||||
|
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
||||||
|
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
||||||
|
|
||||||
|
ENVIRONMENT=dev
|
||||||
|
PORT=8080
|
||||||
|
|
||||||
|
FRONTEND_URL="http://localhost:3000"
|
||||||
|
DATABASE_URL="file:./dev.db"
|
||||||
|
|
||||||
|
CLEANUP_INTERVAL_SECONDS=60
|
||||||
|
|
||||||
|
POST_LIMIT_WINDOW_SECONDS=3 # 3 seconds
|
||||||
|
POST_LIMIT=1
|
||||||
|
# POST_LIMIT_WINDOW=86400 # 24 hours
|
||||||
|
# POST_LIMIT=50
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user