You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/07 11:42:59 UTC

[GitHub] [apisix-dashboard] iamayushdas commented on a change in pull request #1855: fix: default cors plugin formdata validation error

iamayushdas commented on a change in pull request #1855:
URL: https://github.com/apache/apisix-dashboard/pull/1855#discussion_r628144550



##########
File path: web/src/components/Plugin/PluginDetail.tsx
##########
@@ -121,6 +122,12 @@ const PluginDetail: React.FC<Props> = ({
     if (name === 'cors') {
       const formData = UIForm.getFieldsValue();
       const newMethods = formData.allow_methods.join(",");
+      const compactAllowRegex = compact(formData.allow_origins_by_regex);

Review comment:
       Yes yes




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org