- Timestamp:
- Aug 11, 2021, 6:22:03 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/Handlers/ItemIconHandler.cs
r354 r367 11 11 private readonly bool logMissingFiles; 12 12 13 private readonly string staticPart;14 13 private bool loaded; 15 14 … … 18 17 } 19 18 20 public ItemIconHandler (string _staticPart, bool _logMissingFiles, string _moduleName = null) : base (_moduleName) { 21 staticPart = _staticPart; 19 public ItemIconHandler (bool _logMissingFiles, string _moduleName = null) : base (_moduleName) { 22 20 logMissingFiles = _logMissingFiles; 23 21 Instance = this; … … 34 32 } 35 33 36 string requestFileName = _req.Url.AbsolutePath.Remove (0, staticPart.Length);34 string requestFileName = _req.Url.AbsolutePath.Remove (0, urlBasePath.Length); 37 35 requestFileName = requestFileName.Remove (requestFileName.LastIndexOf ('.')); 38 36
Note:
See TracChangeset
for help on using the changeset viewer.