mirror of
https://github.com/certd/certd.git
synced 2026-04-26 22:07:29 +08:00
chore: index update fast
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
if $CERTD_VERSION; then
|
# 判断$CERTD_VERSION 是否存在
|
||||||
|
if [ -n "$CERTD_VERSION" ]; then
|
||||||
echo "CERTD_VERSION is set = $CERTD_VERSION"
|
echo "CERTD_VERSION is set = $CERTD_VERSION"
|
||||||
version=$CERTD_VERSION
|
version=$CERTD_VERSION
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -25,6 +25,11 @@ const development = {
|
|||||||
alias: {
|
alias: {
|
||||||
'/': '/index.html',
|
'/': '/index.html',
|
||||||
},
|
},
|
||||||
|
files: {
|
||||||
|
'/index.html': {
|
||||||
|
maxAge: 60 * 60 * 1000,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user