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:
1 parent
e24d73b610
commit
c8cfab29c2
1 file changed
+1
-1
@@ -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