diff options
Diffstat (limited to 'src/compiler/GFServer.hs')
| -rw-r--r-- | src/compiler/GFServer.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GFServer.hs b/src/compiler/GFServer.hs index dc805906f..cad43a97d 100644 --- a/src/compiler/GFServer.hs +++ b/src/compiler/GFServer.hs @@ -152,6 +152,7 @@ handle logLn documentroot state0 cache execute1 stateVar -- "/start" -> "/parse" -> parse (decoded qs) "/version" -> return (ok200 gf_version) + "/flush" -> do PS.flushPGFCache cache; return (ok200 "flushed") '/':rpath -> -- This code runs without mutual exclusion, so it must *not* -- use/change the cwd. Access files by absolute paths only. |
