Skip to content

[actix-files: feature request] List all disks on Windows. #3780

@xb284524239

Description

@xb284524239

When I specify serve_from as "/", on Unix-like systems, this will list all top-level subdirectories under the root directory. However, on Windows, it will only list the top-level subdirectories within the disk where the program is located.
On the Windows system, is there any way to make actix-files list all disks?

let app = App::new().service(Files::new("/all-files", "/").prefer_utf8(true));

This image shows the effect I want to achieve.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions