Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 348bad80e0 | |||
| f0d4686141 | |||
| a482ab3c7e |
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<h2 class="mb-5">Enter Lucent</h2>
|
||||
|
||||
<form hx-post="/lucent/login" >
|
||||
<form hx-post="{{url('lucent/login')}}" >
|
||||
@csrf
|
||||
<p>Submit your email address and you will receive a <b>login link</b> to your email</p>
|
||||
<p>Don't forget to check your spam folder</p>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<h2 class="mb-5">Welcome to Lucent</h2>
|
||||
|
||||
<form hx-post="/lucent/verify" hx-redirect="/lucent" hx-target-error=".form-errors" >
|
||||
<form hx-post="{{url('lucent/verify')}}" hx-redirect="{{url('lucent')}}" hx-target-error=".form-errors" >
|
||||
<input type="hidden" value="{{$email}}" name="email" />
|
||||
<input type="hidden" value="{{$token}}" name="token" />
|
||||
@csrf
|
||||
|
||||
@@ -45,7 +45,12 @@ class RebuildThumbnails extends Command
|
||||
$records = $this->query->filter(["schema" => $schema->name])->run()->records;
|
||||
$disk = $this->fileService->loadDisk($schema->disk);
|
||||
foreach ($records as $record) {
|
||||
$this->fileService->createTemplates($disk, $record->_file->path);
|
||||
try{
|
||||
|
||||
$this->fileService->createTemplates($disk, $record->_file->path);
|
||||
} catch (Exception $e) {
|
||||
echo "File ". $record->_file->originalName . " could not be rebuilt \n" ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user