Implement account removal API #1
3
.gitignore
vendored
3
.gitignore
vendored
@ -137,4 +137,7 @@ drizzle/
|
|||||||
bun.lockb
|
bun.lockb
|
||||||
migrate.txt
|
migrate.txt
|
||||||
db.sqlite3
|
db.sqlite3
|
||||||
|
ratelimit.json.example
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
docker-compose.yml
|
@ -35,12 +35,13 @@ All features marked with an **E** are extended features, and are not a part of t
|
|||||||
bunx drizzle-kit migrate
|
bunx drizzle-kit migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Copy/modify necessary files**
|
3. **Copy, move, and modify necessary files**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
mv docker-compose.yml.example docker-compose.yml # depending on your use case, you might have to change some things here
|
||||||
touch migrate.txt # put emails (one per line) which already exist on the server which users can claim
|
touch migrate.txt # put emails (one per line) which already exist on the server which users can claim
|
||||||
cp .env.example .env # you don't need to change anything here
|
mv .env.example .env # you don't need to change anything here
|
||||||
vim ratelimit.json # optional, customize to your liking...
|
mv ratelimit.json.example ratelimit.json # customize to your liking
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** If you are running mail-connect outside a Docker container (or changing the binds), please change the `MAILCONNECT_ROOT_DIR` to match your environment.
|
**Note:** If you are running mail-connect outside a Docker container (or changing the binds), please change the `MAILCONNECT_ROOT_DIR` to match your environment.
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"/list": {
|
|
||||||
"windowMs": 60000,
|
|
||||||
"limit": 20
|
|
||||||
},
|
|
||||||
"/add": {
|
|
||||||
"windowMs": 60000,
|
|
||||||
"limit": 10
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user