diff options
author | Aaron Parecki <aaron@parecki.com> | 2015-05-11 21:17:54 +0200 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2015-05-11 21:17:54 +0200 |
commit | 5ceefdf927e0214fcdb76c97053d769a4d297c4d (patch) | |
tree | 15cc1f6db039102589f559536e5bedb8059a923d /controllers/editor.php | |
parent | cb93a9925be700e5e1b0314f6cf66b19e7da5a34 (diff) |
enable appcache for editor
Diffstat (limited to 'controllers/editor.php')
-rw-r--r-- | controllers/editor.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/controllers/editor.php b/controllers/editor.php index 15d65ef..232e0d5 100644 --- a/controllers/editor.php +++ b/controllers/editor.php @@ -61,9 +61,9 @@ $app->post('/editor/test-login', function() use($app) { $app->response()->body(json_encode(['logged_in'=>$logged_in])); }); -// $app->get('/appcache.manifest', function() use($app) { -// $content = partial('partials/appcache'); +$app->get('/appcache.manifest', function() use($app) { + $content = partial('partials/appcache'); -// $app->response()['Content-type'] = 'text/cache-manifest'; -// $app->response()->body($content); -// }); + $app->response()['Content-type'] = 'text/cache-manifest'; + $app->response()->body($content); +}); |