Skip to content

Commit

Permalink
Resetting styles also expires map tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
PraxisMapper committed Mar 18, 2023
1 parent 1c26bf4 commit f2c331f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PraxisMapper/Controllers/AdminViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public IActionResult ResetStyles()
var db = new PraxisContext();
db.ResetStyles();
TagParser.Initialize(false, MapTileSupport.MapTiles);
db.ExpireAllMapTiles();
db.ExpireAllSlippyMapTiles();
return Index();
}
}
Expand Down

0 comments on commit f2c331f

Please sign in to comment.