Commit 770607f9 authored by Steven's avatar Steven

fix: add markdown service to acl

parent db0eff47
...@@ -7,6 +7,7 @@ var authenticationAllowlistMethods = map[string]bool{ ...@@ -7,6 +7,7 @@ var authenticationAllowlistMethods = map[string]bool{
"/memos.api.v2.AuthService/GetAuthStatus": true, "/memos.api.v2.AuthService/GetAuthStatus": true,
"/memos.api.v2.UserService/GetUser": true, "/memos.api.v2.UserService/GetUser": true,
"/memos.api.v2.MemoService/ListMemos": true, "/memos.api.v2.MemoService/ListMemos": true,
"/memos.api.v2.MarkdownService/ParseMarkdown": true,
} }
// isUnauthorizeAllowedMethod returns whether the method is exempted from authentication. // isUnauthorizeAllowedMethod returns whether the method is exempted from authentication.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment