You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. Apart from the fact that it shouldn't panic at this point, what do you think is the expected behavior? I think it should indeed just refuse to start as --spa --index without the file existing does indeed not make sense. We could handle this early in the program startup. Would you like to take a stab at this (and add a test while you're at it)? :)
When serving non-exisient file with
--index
and--spa
, program will panic (IOT instruction (core dumped)
)miniserve version: miniserve 0.24.0
OS: openSUSE x86_64
example:
The text was updated successfully, but these errors were encountered: