You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fix incorrect URLs on html5 webserver.
[CL 2585750 by James Moran in Main branch]
This commit is contained in:
committed by
James.Moran@epicgames.com
parent
b39a174bb8
commit
46d4fa088b
@@ -138,8 +138,9 @@ namespace HTML5LaunchHelper
|
||||
|
||||
foreach (string fileName in fileEntries)
|
||||
{
|
||||
string Slash = Directory.Exists(fileName) ? "/" : "" ;
|
||||
Response += "<tr>\n\t<td><a href=\"" + fileName + "\">" + Path.GetFileName(fileName) + Slash + "</a></td>\n\t<td> " + File.GetLastAccessTime(fileName).ToString() + "</td>\n</tr>\n";
|
||||
string Slash = Directory.Exists(fileName) ? "/" : "" ;
|
||||
string Url = fileName.Replace(Root, WebServer.Prefixes.First().ToString());
|
||||
Response += "<tr>\n\t<td><a href=\"" + Url + "\">" + Path.GetFileName(fileName) + Slash + "</a></td>\n\t<td> " + File.GetLastAccessTime(fileName).ToString() + "</td>\n</tr>\n";
|
||||
}
|
||||
Response += "</table></html>";
|
||||
byte[] buf = Encoding.UTF8.GetBytes(Response);
|
||||
|
||||
Reference in New Issue
Block a user