我有一个外部REST客户端在Crafter Studio的特定站点中调用服务。当'crafterSite'如果没有设置cookie,Studio将无法通过调用并将其记录在catalina.out中:
[WARN] 2018-03-15 19:50:50,015 [http-bio-7070-exec-4687] [] [context.SiteContextResolverImpl] | Unable to resolve a site name for the request. Using fallback site
有没有办法将后备网站设置为特定网站而不是开箱即用的默认网站?
答案 0 :(得分:0)
添加" crafterSite = {site}"到URL。有关更多详细信息,请参阅此文档:http://docs.craftercms.org/en/3.0/system-administrators/engine/configure-engine-multi-tenancy.html?highlight=craftersite