Removing empty lines and indentation

This commit is contained in:
Vincent LAURENT 2022-04-01 00:00:54 +02:00
parent b598f1f35c
commit c47c7728c8
2 changed files with 1 additions and 3 deletions

View File

@ -121,7 +121,6 @@ $f3->route('POST /sign',
unlink($tmpfile);
$svgFiles = "";
$files = Web::instance()->receive(function($file,$formFieldName){
if($formFieldName == "pdf" && strpos(Web::instance()->mime($file['tmp_name'], true), 'application/pdf') !== 0) {
$f3->error(403);

View File

@ -1013,7 +1013,6 @@ var pageSignature = async function(url) {
return;
}
if(window.location.hash && window.location.hash.match(/^\#http/)) {
let hashUrl = window.location.hash.replace(/^\#/, '');
pageUpload();