remove extra purge cache for html file create

This commit is contained in:
Kyle Drake 2024-02-22 13:31:09 -06:00
parent b0bb40fe23
commit 01aab733bb
3 changed files with 15 additions and 2 deletions

View file

@ -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