mirror of
https://github.com/neocities/neocities.git
synced 2025-06-15 17:04:34 +02:00
remove extra purge cache for html file create
This commit is contained in:
parent
b0bb40fe23
commit
01aab733bb
3 changed files with 15 additions and 2 deletions
|
@ -850,7 +850,6 @@ class Site < Sequel::Model
|
|||
tmpfile.write render_template('index.erb')
|
||||
tmpfile.close
|
||||
store_files [{filename: path, tempfile: tmpfile}]
|
||||
purge_cache path
|
||||
tmpfile.unlink
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue