diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php index a736315a5..c8c58a635 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Utils.php @@ -235,7 +235,12 @@ class Utils public static function WebVersionPath() : string { - return self::WebPath() . \str_replace(APP_INDEX_ROOT_PATH, '', APP_VERSION_ROOT_PATH); + return self::WebPath() . 'snappymail/v/' . APP_VERSION . '/'; + /** + * TODO: solve this to support other paths. + * https://github.com/the-djmaze/snappymail/issues/685 + */ +// return self::WebPath() . \str_replace(APP_INDEX_ROOT_PATH, '', APP_VERSION_ROOT_PATH); } public static function WebStaticPath(string $path = '') : string