mirror of
https://github.com/learnhouse/docs.git
synced 2026-02-18 00:07:39 +01:00
Merge branch 'main' into chore/update-dev-docs
This commit is contained in:
@@ -155,7 +155,7 @@ Copy this string into your .env file as NEXTAUTH_SECRET.
|
||||
|
||||
Here is an example of the `.env` file :
|
||||
|
||||
```env filename="apps/web/.env" {1-2}
|
||||
```env filename="apps/web/.env" {1-2} copy
|
||||
# Learnhouse configuration
|
||||
NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false
|
||||
NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg
|
||||
|
||||
@@ -51,7 +51,7 @@ To create one, either run `npx auth secret`, or on UNIX based systems (MacOS/Lin
|
||||
Copy this string into your .env file as NEXTAUTH_SECRET=
|
||||
</Callout>
|
||||
|
||||
```env filename=".env"
|
||||
```env filename=".env" copy
|
||||
# NextAuth Configuration
|
||||
NEXTAUTH_SECRET={generated_secret}
|
||||
NEXTAUTH_URL=http://localhost:3000/
|
||||
|
||||
@@ -20,7 +20,7 @@ When using a Single Organization Setup you should refer your Organization's `slu
|
||||
|
||||
### Frontend Config
|
||||
|
||||
```bash filename="apps/web/.env" {1-2}
|
||||
```bash filename="apps/web/.env" {1-2} copy
|
||||
NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false
|
||||
NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg
|
||||
```
|
||||
@@ -31,6 +31,6 @@ NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg
|
||||
|
||||
### Frontend Config
|
||||
|
||||
```bash filename="apps/web/.env" {1-2}
|
||||
```bash filename="apps/web/.env" {1-2} copy
|
||||
NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=true
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user