env changes

This commit is contained in:
gsmithun4 2024-08-08 15:58:17 +05:30
parent 97f99a4347
commit 601494bba6
3 changed files with 3 additions and 10 deletions

View file

@ -48,7 +48,8 @@ GOOGLE_CLIENT_SECRET=
# EMAIL CONFIGURATION
DEFAULT_FROM_EMAIL=hello@tooljet.io
SMTP_ENABLED=
# Set this value true to get preview email on cevelopment env
SMTP_DISABLED=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_DOMAIN=
@ -89,5 +90,5 @@ DISABLE_APP_EMBED=
# if true then private app embed is allowed
ENABLE_PRIVATE_APP_EMBED=
#Enable cors else restricted to TOOLJET_HOST
#Enable cors else restricted to TOOLJET_HOST. Set the value true if you are serving front end from diffrent host
ENABLE_CORS=

View file

@ -58,6 +58,3 @@ SSO_GOOGLE_OAUTH2_CLIENT_ID=
SSO_GIT_OAUTH2_CLIENT_ID=
SSO_GIT_OAUTH2_CLIENT_SECRET=
SSO_GIT_OAUTH2_HOST=
#Enable cors else restricted to TOOLJET_HOST
ENABLE_CORS=true

View file

@ -78,11 +78,6 @@ async function bootstrap() {
defaultVersion: VERSION_NEUTRAL,
});
app.enableVersioning({
type: VersioningType.URI,
defaultVersion: VERSION_NEUTRAL,
});
const listen_addr = process.env.LISTEN_ADDR || '::';
const port = parseInt(process.env.PORT) || 3000;