mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 10:51:36 +01:00
Enable rate limiting and compression for NGINX
This commit is contained in:
@@ -60,6 +60,7 @@ export const actions: Actions = {
|
||||
Authorization: `Bearer ${cookies.get("session_token")}`
|
||||
},
|
||||
body: JSON.stringify({
|
||||
category_name: data.get("category-name"),
|
||||
category_weight: data.get("category-weight")
|
||||
})
|
||||
}
|
||||
|
||||
@@ -89,6 +89,11 @@
|
||||
>
|
||||
<input type="hidden" name="category-id" value={id} />
|
||||
|
||||
<label>
|
||||
Name:
|
||||
<input type="text" name="category-name" value={category_name} maxlength="50" required />
|
||||
</label>
|
||||
|
||||
<label>
|
||||
Weight:
|
||||
<input type="number" name="category-weight" value={category_weight} min="0" />
|
||||
|
||||
Reference in New Issue
Block a user