mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 11:58:28 +02:00
fix for cache purge rename
This commit is contained in:
parent
f7341f5a51
commit
b0bb40fe23
2 changed files with 14 additions and 0 deletions
|
@ -116,6 +116,9 @@ class SiteFile < Sequel::Model
|
|||
site.purge_cache site_file.path
|
||||
site.purge_cache original_site_file_path
|
||||
end
|
||||
else
|
||||
site.purge_cache new_path
|
||||
site.purge_cache current_path
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue