forked from vieter-v/vieter
Bumped v release; files are now served properly
This commit is contained in:
parent
3c0b7156c1
commit
8a0beffbe2
5 changed files with 11 additions and 10 deletions
|
|
@ -262,7 +262,6 @@ pub fn (mut ctx Context) file(f_path string) Result {
|
|||
if ctx.done {
|
||||
return Result{}
|
||||
}
|
||||
ctx.done = true
|
||||
|
||||
if !os.is_file(f_path) {
|
||||
return ctx.not_found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue