diff --git a/package.json b/package.json index bed08d7c..ceb92270 100644 --- a/package.json +++ b/package.json @@ -143,7 +143,7 @@ "onezip": "^4.0.0", "open": "^7.0.0", "package-json": "^6.0.0", - "ponse": "^3.0.0", + "ponse": "^3.5.1", "pullout": "^4.0.0", "putout": "^7.0.0", "rendy": "^3.0.0", diff --git a/server/cloudcmd.js b/server/cloudcmd.js index 97120aa0..5fe0d0f6 100644 --- a/server/cloudcmd.js +++ b/server/cloudcmd.js @@ -180,9 +180,11 @@ function cloudcmd({modules, config}) { const diff = apart(config, 'diff'); const zip = apart(config, 'zip'); const root = apart(config, 'root'); - const dir = DIR_ROOT; - const ponseStatic = ponse.static(dir, {cache}); + const ponseStatic = ponse.static({ + cache, + root: DIR_ROOT, + }); const dropbox = config('dropbox'); const dropboxToken = config('dropboxToken');