summaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-03-29 11:02:49 +0200
committerYorhel <git@yorhel.nl>2020-03-29 11:02:49 +0200
commit9e53fe7e8c84e4f49480a5d774e5592647ca35e4 (patch)
tree2ea9c8159d747af5cbd44b967a4d4fad6526da78 /index.cgi
parente636df2114cd18a28424a11345c56cbef221514b (diff)
Fix serving of static assets in embedded HTTP server mode
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.cgi b/index.cgi
index 16a708a..10185a2 100755
--- a/index.cgi
+++ b/index.cgi
@@ -28,7 +28,7 @@ TUWF::set(
TUWF::hook before => sub {
- return 0 if tuwf->{_TUWF}{http} && tuwf->resFile('.', tuwf->reqPath);
+ tuwf->done if tuwf->{_TUWF}{http} && tuwf->resFile('.', tuwf->reqPath);
tuwf->dbh->sqlite_busy_timeout(10000);
tuwf->dbExec(q(