diff --git a/core/lib/Drupal/Core/StreamWrapper/AssetsStream.php b/core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
index 9e29c0b8a9..0cd4063f56 100644
--- a/core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
+++ b/core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
@@ -14,13 +14,6 @@
 class AssetsStream extends PublicStream {
   use StringTranslationTrait;
 
-  /**
-   * {@inheritdoc}
-   */
-  public static function getType(): int {
-    return StreamWrapperInterface::LOCAL_HIDDEN;
-  }
-
   /**
    * {@inheritdoc}
    */
@@ -41,7 +34,7 @@ public function getDescription(): string {
   public static function basePath($site_path = NULL): string {
     return Settings::get(
       'file_assets_path',
-      Settings::get('file_public_path', 'sites/default/files')
+      parent::basePath($site_path)
     );
   }
 
