Browse Source

allow pretty urls

Signed-off-by: szaimen <szaimen@e.mail.de>
szaimen 5 years ago
parent
commit
815e30166e
1 changed files with 5 additions and 8 deletions
  1. 5 8
      src/main/AndroidManifest.xml

+ 5 - 8
src/main/AndroidManifest.xml

@@ -121,14 +121,11 @@
                 <action android:name="android.intent.action.VIEW" />
                 <action android:name="android.intent.action.VIEW" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.DEFAULT" />
                 <category android:name="android.intent.category.BROWSABLE" />
                 <category android:name="android.intent.category.BROWSABLE" />
-                <data android:scheme="http"
-                    android:host="*"
-                    android:pathPattern="/.*index.php/f/.*"
-                    />
-                <data android:scheme="https"
-                      android:host="*"
-                      android:pathPattern="/.*index.php/f/.*"
-                    />
+                <data android:scheme="http" />
+                <data android:scheme="https" />
+                <data android:host="*" />
+                <data android:pathPattern="/f/..*" />
+                <data android:pathPattern="/..*/f/..*" />
             </intent-filter>
             </intent-filter>
             <meta-data android:name="android.app.searchable"
             <meta-data android:name="android.app.searchable"
                 android:resource="@xml/users_and_groups_searchable"/>
                 android:resource="@xml/users_and_groups_searchable"/>