From 5ceefdf927e0214fcdb76c97053d769a4d297c4d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Mon, 11 May 2015 21:17:54 +0200 Subject: enable appcache for editor --- controllers/editor.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'controllers') 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); +}); -- cgit v1.2.3