diff --git a/.env.example b/.env.example index e9f26198..96ad2363 100644 --- a/.env.example +++ b/.env.example @@ -10,13 +10,15 @@ NEXT_PUBLIC_LICENSE_CONSENT='' # DATABASE_URL='postgresql://:@:/' DATABASE_URL="postgresql://postgres:@localhost:5450/calendso" -# Needed to enable Google Calendar integrationa and Login with Google +# Needed to enable Google Calendar integration and Login with Google # @see https://github.com/calendso/calendso#obtaining-the-google-api-credentials GOOGLE_API_CREDENTIALS='{}' # To enable Login with Google you need to: # 1. Set `GOOGLE_API_CREDENTIALS` above # 2. Set `GOOGLE_LOGIN_ENABLED` to `true` +# When self-hosting please ensure you configure the Google integration as an Internal app so no one else can login to your instance +# @see https://support.google.com/cloud/answer/6158849#public-and-internal&zippy=%2Cpublic-and-internal-applications GOOGLE_LOGIN_ENABLED=false BASE_URL='http://localhost:3000' @@ -30,6 +32,9 @@ PLAYWRIGHT_SECRET= # @see https://github.com/calendso/calendso/tree/main/ee#setting-up-saml-login # SAML_DATABASE_URL="postgresql://postgres:@localhost:5450/cal-saml" # SAML_ADMINS='pro@example.com' +# If you use Heroku to deploy Postgres (or use self-signed certs for Postgres) then uncomment the follow line. +# @see https://devcenter.heroku.com/articles/connecting-heroku-postgres#connecting-in-node-js +##PGSSLMODE='no-verify' # @see: https://github.com/calendso/calendso/issues/263 # Required for Vercel hosting - set NEXTAUTH_URL to equal your BASE_URL diff --git a/components/NavTabs.tsx b/components/NavTabs.tsx index 6d79ec00..c3581005 100644 --- a/components/NavTabs.tsx +++ b/components/NavTabs.tsx @@ -17,7 +17,9 @@ const NavTabs: FC = ({ tabs, linkProps }) => { const router = useRouter(); return ( <> -