Ignore:
Timestamp:
May 5, 2023, 11:34:27 AM (19 months ago)
Author:
alloc
Message:

Folder "webserver" becomes "webroot"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/WebServer/src/Web.cs

    r426 r431  
    9898
    9999                private static string DetectWebserverFolder (string _modInstancePath) {
    100                         string webserverFolder = $"{_modInstancePath}/webserver";
     100                        const string webrootFolderName = "webroot";
     101                       
     102                        string webserverFolder = $"{_modInstancePath}/{webrootFolderName}";
    101103
    102104                        foreach (Mod mod in ModManager.GetLoadedMods ()) {
    103                                 string modServerFolder = $"{mod.Path}/webserver";
     105                                string modServerFolder = $"{mod.Path}/{webrootFolderName}";
    104106                               
    105107                                if (Directory.Exists (modServerFolder)) {
Note: See TracChangeset for help on using the changeset viewer.