mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Revert redirectStatusCode default back to 301
Keep response model default aligned with the runtime fallback in general.php for legacy/null records.
This commit is contained in:
@@ -55,7 +55,7 @@ class Rule extends Model
|
||||
->addRule('redirectStatusCode', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Status code to apply during redirect. Only applicable if type is "redirect".',
|
||||
'default' => 0,
|
||||
'default' => 301,
|
||||
'example' => 301,
|
||||
])
|
||||
->addRule('deploymentId', [
|
||||
|
||||
Reference in New Issue
Block a user