chore: add 403 page

This commit is contained in:
Steven
2023-12-23 10:08:23 +08:00
parent 4d64d4bf25
commit c6ebb5552e
5 changed files with 44 additions and 19 deletions

View File

@@ -7,6 +7,7 @@ var authenticationAllowlistMethods = map[string]bool{
"/memos.api.v2.AuthService/GetAuthStatus": true,
"/memos.api.v2.UserService/GetUser": true,
"/memos.api.v2.MemoService/ListMemos": true,
"/memos.api.v2.MemoService/GetMemo": true,
"/memos.api.v2.MemoService/ListMemoResources": true,
"/memos.api.v2.MemoService/ListMemoRelations": true,
"/memos.api.v2.MemoService/ListMemoComments": true,