木兰 REST 工具
Magnolia REST tools
当我尝试从主页显示 REST 工具时
它以错误结束
Can't read from server. It may not have the appropriate access-control-origin settings
页面如下所示
为什么会出现这个而不是 swagger 文档?是否存在任何配置错误或未设置某些权限?
看起来该异常来自 Swagger 端。你检查了吗 如果你提供了
'apiBasepath' 在“/modules/rest-tools/config/apiBasepath”
预配置的 Magnolia 包的默认值应该是“http://localhost:8080/magnoliaAuthor/.rest”,但您应该根据您的配置进行调整。
干杯,
伊尔根
当我尝试从主页显示 REST 工具时
它以错误结束
Can't read from server. It may not have the appropriate access-control-origin settings
页面如下所示
为什么会出现这个而不是 swagger 文档?是否存在任何配置错误或未设置某些权限?
看起来该异常来自 Swagger 端。你检查了吗 如果你提供了 'apiBasepath' 在“/modules/rest-tools/config/apiBasepath”
预配置的 Magnolia 包的默认值应该是“http://localhost:8080/magnoliaAuthor/.rest”,但您应该根据您的配置进行调整。
干杯,
伊尔根