Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
nevo-david committed Feb 3, 2025
2 parents 07e7b4b + 02e38ab commit 296f3f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Configuration reference: http://docs.postiz.com/configuration/reference

# === Required Settings
# === Required Settings
DATABASE_URL="postgresql://postiz-user:postiz-password@localhost:5432/postiz-db-local"
REDIS_URL="redis://localhost:6379"
JWT_SECRET="random string for your JWT secret, make it long"

# === This needs to be exactly the URL you're accessing Postiz on.
FRONTEND_URL="http://localhost:4200"
NEXT_PUBLIC_BACKEND_URL="http://localhost:3000"
BACKEND_INTERNAL_URL="http://localhost:3000"
Expand Down Expand Up @@ -77,6 +79,7 @@ MASTODON_CLIENT_SECRET=""
OPENAI_API_KEY=""
NEXT_PUBLIC_DISCORD_SUPPORT=""
NEXT_PUBLIC_POLOTNO=""
NOT_SECURED=false

# Payment settings
FEE_AMOUNT=0.05
Expand Down
3 changes: 1 addition & 2 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ The Postiz app is committed to ensuring the security and integrity of our users'
If you discover a security vulnerability in the Postiz app, please report it to us privately via email to one of the maintainers:

* @nevo-david
* @jamesread ([email](mailto:[email protected]))
* @jonathan-irvin ([email](mailto:[email protected]))
* @egelhaus ([email](mailto:[email protected]))

When reporting a security vulnerability, please provide as much detail as possible, including:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class DiscordProvider extends SocialAbstract implements SocialProvider {
).json();

return list
.filter((p: any) => p.type === 0 || p.type === 15)
.filter((p: any) => p.type === 0 || p.type === 5 || p.type === 15)
.map((p: any) => ({
id: String(p.id),
name: p.name,
Expand Down

0 comments on commit 296f3f1

Please sign in to comment.