Skip to content

Commit 4528ee3

Browse files
authored
Merge pull request #341 from Linus-XZX/patch-1
Fix reversed comments in .env
2 parents 8901ce5 + 36800e6 commit 4528ee3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.env

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ export MICROBIN_HASH_IDS=false
221221
# server sees everything that the user submits, therefore
222222
# the user does not have complete and absolute protection.
223223
# Default value: false
224-
export MICROBIN_ENCRYPTION_CLIENT_SIDE=true
224+
export MICROBIN_ENCRYPTION_SERVER_SIDE=true
225225

226226
# Enables client-side encryption. This will add the secret
227227
# privacy level where the user's browser encrypts all data
228228
# with JavaScript before sending it over to MicroBin, which
229229
# encrypt the data once again on server side.
230230
# Default value: false
231-
export MICROBIN_ENCRYPTION_SERVER_SIDE=true
231+
export MICROBIN_ENCRYPTION_CLIENT_SIDE=true
232232

233233
# Sets the default privacy level for new pastas. Available options:
234234
# public - shows in listing, no password required
@@ -240,14 +240,14 @@ export MICROBIN_ENCRYPTION_SERVER_SIDE=true
240240
# export MICROBIN_DEFAULT_PRIVACY=
241241

242242
# Limit the maximum file size users can upload without
243-
# encryption. Default value: 256.
244-
export MICROBIN_MAX_FILE_SIZE_ENCRYPTED_MB=256
243+
# encryption. Default value: 2048.
244+
export MICROBIN_MAX_FILE_SIZE_UNENCRYPTED_MB=2048
245245

246246
# Limit the maximum file size users can upload with
247247
# encryption (more strain on your server than without
248248
# encryption, so the limit should be lower. Secrets tend to
249-
# be tiny files usually anyways.) Default value: 2048.
250-
export MICROBIN_MAX_FILE_SIZE_UNENCRYPTED_MB=2048
249+
# be tiny files usually anyways.) Default value: 256.
250+
export MICROBIN_MAX_FILE_SIZE_ENCRYPTED_MB=256
251251

252252
# Disables the feature that checks for available updates
253253
# when opening the admin screen.

0 commit comments

Comments
 (0)