Skip to content

Static serving broken in Windows #10

@pacman82

Description

@pacman82

Hello,

This seems like a great crate! I would prefer to use it over rust-embed and memory-serve, yet, it seems serving paths in Windows is broken.

thread 'tokio-runtime-worker' (8388) panicked at C:\Users\Markus\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\static-serve-0.5.0\src\lib.rs:93:12:
Paths must start with a `/`

Best, Markus

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