Browse Source

enable appcache

pull/30/head
Aaron Parecki 9 years ago
parent
commit
7666ec33d1
  1. 2
      controllers/editor.php
  2. 1
      public/editor/style.css
  3. 3
      views/partials/appcache.php

2
controllers/editor.php

@ -68,7 +68,7 @@ $app->post('/editor/test-login', function() use($app) {
});
$app->get('/appcache.manifest', function() use($app) {
$content = partial('-partials/appcache');
$content = partial('partials/appcache');
$app->response()['Content-type'] = 'text/cache-manifest';
$app->response()->body($content);

1
public/editor/style.css

@ -41,6 +41,7 @@ img { border: 0; }
display: block;
}
#micropub-html-btn {
font-size: 14px;
border-radius: 6px;
padding: 0 12px;
height: 28px;

3
views/partials/appcache.php

@ -1,6 +1,6 @@
CACHE MANIFEST
# v18
# v24
/editor
/editor/style.css
@ -25,3 +25,4 @@ CACHE MANIFEST
NETWORK:
*
Loading…
Cancel
Save