小编tim*_*lka的帖子

如何在Sonatype Nexus上启用CORS?

我想使用AngularJS作为前端开发针对不同事物的Monitoring-WebApp。核心元素之一是Nexus工件/存储库的概述。当我请求REST-API时,出现以下错误:

No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://localhost:9090' is therefore not allowed access.
Run Code Online (Sandbox Code Playgroud)

要解决此错误,我需要修改响应标头以启用CORS。

如果有人熟悉这种类型的问题并可以给我答案,那就太好了!

repository cross-domain nexus maven cors

9
推荐指数
1
解决办法
1217
查看次数

标签 统计

cors ×1

cross-domain ×1

maven ×1

nexus ×1

repository ×1