Changeset 431 for binary-improvements2/WebServer
- Timestamp:
- May 5, 2023, 11:34:27 AM (19 months ago)
- Location:
- binary-improvements2/WebServer
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/WebServer/WebServer.csproj
r428 r431 173 173 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 174 174 </None> 175 <None Include="web server\**"175 <None Include="webroot\**" 176 176 CopyToOutputDirectory="Always" 177 LinkBase="web server\" />177 LinkBase="webroot\" /> 178 178 </ItemGroup> 179 179 <ItemGroup> -
binary-improvements2/WebServer/src/Web.cs
r426 r431 98 98 99 99 private static string DetectWebserverFolder (string _modInstancePath) { 100 string webserverFolder = $"{_modInstancePath}/webserver"; 100 const string webrootFolderName = "webroot"; 101 102 string webserverFolder = $"{_modInstancePath}/{webrootFolderName}"; 101 103 102 104 foreach (Mod mod in ModManager.GetLoadedMods ()) { 103 string modServerFolder = $"{mod.Path}/ webserver";105 string modServerFolder = $"{mod.Path}/{webrootFolderName}"; 104 106 105 107 if (Directory.Exists (modServerFolder)) {
Note:
See TracChangeset
for help on using the changeset viewer.