Browse Source

enable appcache

pull/30/head
Aaron Parecki 8 years ago
parent
commit
7666ec33d1
3 changed files with 4 additions and 2 deletions
  1. +1
    -1
      controllers/editor.php
  2. +1
    -0
      public/editor/style.css
  3. +2
    -1
      views/partials/appcache.php

+ 1
- 1
controllers/editor.php View File

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

+ 1
- 0
public/editor/style.css View File

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

+ 2
- 1
views/partials/appcache.php View File

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

Loading…
Cancel
Save