我正在使用play2.4制作公共(public)RESTAPI。我添加了允许所有来源和header的CORS过滤器。从application.conf中查看:play.filters{#CORSfilterconfigurationcors{#Thepathprefixestofilter.pathPrefixes=["/"]#Theallowedorigins.Ifnull,alloriginsareallowed.allowedOrigins=null#TheallowedHTTPmethods.Ifnull,allmethodsareallowedallowedHttpMetho