default pfps, move data.db to data directory

This commit is contained in:
split / May 2024-07-10 12:58:47 -07:00
parent b8b1de9b59
commit f21a1c1e6a
Signed by: split
GPG key ID: C325C61F0BF517C0
9 changed files with 7 additions and 3 deletions

View file

@ -17,5 +17,8 @@ USERINFO__ROUTE=
# Identifier you'd like to use to link avatars with # Identifier you'd like to use to link avatars with
USERINFO__IDENTIFIER=preferred_username USERINFO__IDENTIFIER=preferred_username
# Comma-separated list of allowed image types
ALLOWED_TYPES=image/jpg,image/jpeg,image/png,image/png,image/webp,image/gif
# Prisma database URL # Prisma database URL
DATABASE_URL="file:./data.db" DATABASE_URL="file:../.data/data.db"

2
.gitignore vendored
View file

@ -20,4 +20,4 @@ Thumbs.db
vite.config.js.timestamp-* vite.config.js.timestamp-*
vite.config.ts.timestamp-* vite.config.ts.timestamp-*
data.db* .data

BIN
src/assets/default/128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
src/assets/default/256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

BIN
src/assets/default/32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
src/assets/default/512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
src/assets/default/64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -14,6 +14,7 @@ const configuration = {
userinfo: { userinfo: {
route: process.env.USERINFO__ROUTE, route: process.env.USERINFO__ROUTE,
identifier: process.env.USERINFO__IDENTIFIER identifier: process.env.USERINFO__IDENTIFIER
} },
allowed_types: process.env.ALLOWED_TYPES.split(",")
} }
export default configuration export default configuration