mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Make the URL for texture redirects match the path of the resource that we use in OpenSim.
This commit is contained in:
@@ -153,7 +153,7 @@ namespace OpenSim.Capabilities.Handlers
|
||||
}
|
||||
else
|
||||
{
|
||||
string textureUrl = m_RedirectURL + textureID.ToString();
|
||||
string textureUrl = m_RedirectURL + "?texture_id="+ textureID.ToString();
|
||||
m_log.Debug("[GETTEXTURE]: Redirecting texture request to " + textureUrl);
|
||||
httpResponse.StatusCode = (int)OSHttpStatusCode.RedirectMovedPermanently;
|
||||
httpResponse.RedirectLocation = textureUrl;
|
||||
|
||||
Reference in New Issue
Block a user