diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-04-13 18:59:02 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-04-13 18:59:02 +0200 |
commit | dda4846c0db510fa234ef9d896016418f17b2517 (patch) | |
tree | 602c49b30d4ec54ffefb2c301412624a8e3b94cf | |
parent | 536fa7b3a572102a47ea4aa210df4cdcae5dc8c2 (diff) |
add .htaccess
-rw-r--r-- | static/.htaccess | 2 | ||||
-rwxr-xr-x | update.sh | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 0000000..0d5b38a --- /dev/null +++ b/static/.htaccess @@ -0,0 +1,2 @@ +# own 404 handler +ErrorDocument 404 /404.html @@ -14,5 +14,8 @@ export GIT_COMMIT_SHA=`git rev-parse --verify HEAD` export GIT_COMMIT_SHA_SHORT=`git rev-parse --short HEAD` ./hugo +# copy .htaccess +cp -f static/.htaccess public + # current date date -Iseconds |