Skip to content

Commit

Permalink
Merge pull request #1242 from hanshuaikang/feature/develop_by_han
Browse files Browse the repository at this point in the history
bugfix: profile 支持POST方法
  • Loading branch information
hanshuaikang authored Dec 8, 2023
2 parents d57bbac + a6ff905 commit 7585af7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def is_owner_or_readonly(article, user):
except Exception:
NEED_PROFILE = False
PROFILE_TEST_PATH = [
{"path": path, "method": ["GET"]}
{"path": path, "method": ["GET", "POST"]}
for path in os.environ.get("BKAPP_PROFILE_TEST_PATH", "").split(",")
if path
]
Expand Down

0 comments on commit 7585af7

Please sign in to comment.