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
|
@ -14,7 +14,7 @@ post '/site_files/create' do
|
|||
require_login
|
||||
@errors = []
|
||||
|
||||
filename = params[:pagefilename] || params[:filename]
|
||||
filename = params[:filename]
|
||||
|
||||
filename.gsub!(/[^a-zA-Z0-9_\-.]/, '')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue