From 658c148be4541e5a7c836de0bd0ee256fee1ad29 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 11 Apr 2021 18:04:52 +0000
Subject: [PATCH] URL absielen (unfertig, kompiliert nicht)

---
 src/de/uhilger/mediaz/store/FileStorage.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/de/uhilger/mediaz/store/FileStorage.java b/src/de/uhilger/mediaz/store/FileStorage.java
index 7a86477..2d768cf 100644
--- a/src/de/uhilger/mediaz/store/FileStorage.java
+++ b/src/de/uhilger/mediaz/store/FileStorage.java
@@ -137,7 +137,7 @@
   }
   
   private String typeNameFromPath(File file) {
-    String[] parts = file.getPath().split(App.getRs(Server.RB_SLASH));
+    String[] parts = file.getPath().split(Server.SLASH);
     return parts[parts.length-2];
   }
 

--
Gitblit v1.9.3