Small fixes
This commit is contained in:
@@ -78,6 +78,7 @@ public class FileInfoService {
|
||||
String requestedUri, FileTokenProvider fileTokenProvider) {
|
||||
Path rootFolderPath = Paths.get(fileApiConfiguration.directory());
|
||||
Path path = null;
|
||||
|
||||
try {
|
||||
path = rootFolderPath.resolve("file").resolve(requestedPath.replaceAll("^/*", ""));
|
||||
} catch (Exception e) {
|
||||
|
||||
@@ -24,6 +24,10 @@ quarkus:
|
||||
token:
|
||||
refresh-expired: true
|
||||
|
||||
# lalafin:
|
||||
# base_url: <url>
|
||||
# user_management_url: <url>
|
||||
|
||||
api:
|
||||
file:
|
||||
directory: /lalafin # Files need to be in {directory}/file
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
{#if it_count.mod(3) == 1}
|
||||
<tr>
|
||||
{/if}
|
||||
<td>
|
||||
<td valign="top">
|
||||
{#if it.thumbnailUrl}
|
||||
{#if it.type is 'file'}
|
||||
{#if it.viewUrl}
|
||||
|
||||
Reference in New Issue
Block a user