summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--controllers/editor.php10
-rw-r--r--views/editor.php2
2 files changed, 6 insertions, 6 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);
+});
diff --git a/views/editor.php b/views/editor.php
index 2383af5..cadeb19 100644
--- a/views/editor.php
+++ b/views/editor.php
@@ -1,5 +1,5 @@
<!doctype html>
-<html lang="en" manifest_="appcache.manifest">
+<html lang="en" manifest="appcache.manifest">
<head>
<title>Quill Editor</title>
<meta charset="utf-8">