perf(backend): allow get for some endpoints (#92)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
b4f720cab6
commit
65a75ecd9a
5 changed files with 7 additions and 3 deletions
|
|
@ -9,6 +9,8 @@ export const meta = {
|
|||
tags: ['meta'],
|
||||
|
||||
requireCredential: false,
|
||||
allowGet: true,
|
||||
cacheSec: 60 * 1,
|
||||
} as const;
|
||||
|
||||
export const paramDef = {
|
||||
|
|
|
|||
|
|
@ -26,6 +26,8 @@ export const meta = {
|
|||
tags: ['hashtags'],
|
||||
|
||||
requireCredential: false,
|
||||
allowGet: true,
|
||||
cacheSec: 60 * 1,
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue