mirror of
https://github.com/docmost/docmost.git
synced 2026-08-19 18:44:09 +08:00
fix(ai): harden turbopuffer misconfiguration and reset failure paths
This commit is contained in:
+1
-1
Submodule apps/server/src/ee updated: 9b999c687f...5d371309ca
@@ -5,6 +5,7 @@ import {
|
||||
IsOptional,
|
||||
IsString,
|
||||
IsUrl,
|
||||
Matches,
|
||||
MinLength,
|
||||
ValidateIf,
|
||||
validateSync,
|
||||
@@ -137,6 +138,10 @@ export class EnvironmentVariables {
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@Matches(/^[A-Za-z0-9\-_.]{1,90}$/, {
|
||||
message:
|
||||
'TURBOPUFFER_NAMESPACE_PREFIX may only contain letters, digits, dot, dash, underscore (max 90 chars)',
|
||||
})
|
||||
TURBOPUFFER_NAMESPACE_PREFIX: string;
|
||||
|
||||
@IsOptional()
|
||||
|
||||
Reference in New Issue
Block a user