enable appcache for editor

This commit is contained in:
Aaron Parecki 2015-05-11 21:17:54 +02:00
parent cb93a9925b
commit 5ceefdf927
2 changed files with 6 additions and 6 deletions

View file

@ -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);
});