Use grep.php if there is no Application cache or it's slowly syncing

TODO: Make URL ?queries work offline!
This commit is contained in:
Kai Hendry
2012-08-12 14:06:36 +02:00
parent 2c201bd1ff
commit efb95b52aa
2 changed files with 25 additions and 9 deletions

View File

@@ -66,6 +66,7 @@ fi
cd u/$id
ln -sf ../../index.html || true
ln -sf ../../grep.php || true
if echo $id | grep -q -v '_' # Underscores in domain names is a no no
then