diff --git a/Monitor/Pages/_post/SavePresetFile.cshtml.cs b/Monitor/Pages/_post/SavePresetFile.cshtml.cs index 623eb4d..4ce9cba 100644 --- a/Monitor/Pages/_post/SavePresetFile.cshtml.cs +++ b/Monitor/Pages/_post/SavePresetFile.cshtml.cs @@ -40,6 +40,7 @@ namespace Monitor.Pages { if (requestBody.Length > 0) { SavePresetFileForm spff = JsonConvert.DeserializeObject(requestBody); if (spff != null) { + spff.FileName = spff.FileName.Replace(".PROPERTIES", ".properties"); string settingPropertiesPath = PTMagicBasePath + Constants.PTMagicPathPresets + Path.DirectorySeparatorChar + spff.SettingName + Path.DirectorySeparatorChar + spff.FileName; if (System.IO.File.Exists(settingPropertiesPath)) { try {