This commit is contained in:
parent
a10fb0fb99
commit
7ba6fc7ac7
@ -27,6 +27,10 @@ jobs:
|
||||
HOST1: ${{ secrets.HOST1 }}
|
||||
USER: ${{ secrets.USER }}
|
||||
run: |
|
||||
echo "Deploying..."
|
||||
echo "Removing old files..."
|
||||
ssh $USER@$HOST1 'rm -rf /var/www/elia.network/html/*'
|
||||
echo "Copying new files..."
|
||||
scp -r . $USER@$HOST1:/var/www/elia.network/html
|
||||
echo "Deployment done!"
|
||||
ssh $USER@$HOST1 'rm -r /var/www/elia.network/html/.git*'
|
||||
|
@ -1,4 +1,4 @@
|
||||
// animation speeds cause why not
|
||||
// animation speeds
|
||||
const TYPING_SPEED = 50;
|
||||
const ERASE_SPEED = 70;
|
||||
const STATUS_UPDATE_INTERVAL = 60000; // 1min updates
|
||||
@ -84,7 +84,7 @@ function updateClientInfo() {
|
||||
if (!clientInfo) {
|
||||
throw new Error("X-Client-Info header not present");
|
||||
}
|
||||
|
||||
// this solves the weird encoding issue with µ
|
||||
const cleanClientInfo = clientInfo
|
||||
.replace(/\u00C2\u00B5s/g, "µs")
|
||||
.replace(/µs/g, "µs")
|
||||
|
Loading…
Reference in New Issue
Block a user