mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
improved url domain matching for multi-tenant deployments
This commit is contained in:
parent
e92ad317d8
commit
2386dcbd83
3 changed files with 650 additions and 632 deletions
|
@ -41,6 +41,7 @@ func (h *Handler) Meta(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
org, err := h.Store.Organization.GetOrganizationByDomain(data.URL)
|
||||
if err != nil {
|
||||
h.Runtime.Log.Error("unable to fetch request meta for "+data.URL, err)
|
||||
response.WriteForbiddenError(w)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue