Skip to content

Fix rest requests #883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ services:
LOWCODER_MAX_QUERY_TIMEOUT: 120
LOWCODER_WORKSPACE_MODE: SAAS
# Lowcoder notification emails setup
LOWCODER_ADMIN_SMTP_HOST: smtp.gmail.com
LOWCODER_ADMIN_SMTP_HOST: localhost
LOWCODER_ADMIN_SMTP_PORT: 587
LOWCODER_ADMIN_SMTP_USERNAME:
LOWCODER_ADMIN_SMTP_PASSWORD:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ public Builder toWebClientBuilder() {
httpClient = httpClient.resolver(new SafeHostResolverGroup(disallowedHosts));
}
return WebClient.builder()
.codecs(codecs -> codecs
.defaultCodecs()
.maxInMemorySize(20 * 1024 * 1024))
.clientConnector(new ReactorClientHttpConnector(httpClient));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ spring:
webflux:
base-path: /
mail:
host: ${LOWCODER_ADMIN_SMTP_HOST:smtp.gmail.com}
host: ${LOWCODER_ADMIN_SMTP_HOST:localhost}
port: ${LOWCODER_ADMIN_SMTP_PORT:587}
username: ${LOWCODER_ADMIN_SMTP_USERNAME:yourmail@gmail.com}
password: ${LOWCODER_ADMIN_SMTP_PASSWORD:yourpass}
username: ${LOWCODER_ADMIN_SMTP_USERNAME:info@localhost}
password: ${LOWCODER_ADMIN_SMTP_PASSWORD:s3cr3t}
properties:
mail:
smtp:
Expand Down Expand Up @@ -83,7 +83,7 @@ common:
password: ${LOWCODER_SUPERUSER_PASSWORD:}
marketplace:
private-mode: ${LOWCODER_MARKETPLACE_PRIVATE_MODE:true}
lowcoder-public-url: ${LOWCODER_PUBLIC_URL:http://localhost:8080}
lowcoder-public-url: ${LOWCODER_PUBLIC_URL:http://localhost:3000}
notifications-email-sender: ${LOWCODER_EMAIL_NOTIFICATIONS_SENDER:info@localhost}

material:
Expand All @@ -96,3 +96,8 @@ springdoc:
swagger-ui:
path: /api/docs/swagger-ui
paths-to-exclude: /api/v1/**

management:
health:
mail:
enabled: false
Loading