Make the URL for texture redirects match the path of the resource that we use in OpenSim.
parent
a845c1a893
commit
a31393ba0b
|
@ -153,7 +153,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
string textureUrl = m_RedirectURL + textureID.ToString();
|
string textureUrl = m_RedirectURL + "?texture_id="+ textureID.ToString();
|
||||||
m_log.Debug("[GETTEXTURE]: Redirecting texture request to " + textureUrl);
|
m_log.Debug("[GETTEXTURE]: Redirecting texture request to " + textureUrl);
|
||||||
httpResponse.StatusCode = (int)OSHttpStatusCode.RedirectMovedPermanently;
|
httpResponse.StatusCode = (int)OSHttpStatusCode.RedirectMovedPermanently;
|
||||||
httpResponse.RedirectLocation = textureUrl;
|
httpResponse.RedirectLocation = textureUrl;
|
||||||
|
|
Loading…
Reference in New Issue