Skip to content

Commit e38c89e

Browse files
authored
Update start.mjs
234234
1 parent 4048018 commit e38c89e

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

scripts/start.mjs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ try {
113113
type: 2,
114114
id: -2,
115115
workTitle: '距离下班还有',
116-
restTitle: '休息啦',
116+
restTitle: '休息啦',
117117
startDate: startOfDay.getTime(),
118118
date: endOfDay.getTime() ,
119119
}
@@ -157,22 +157,9 @@ try {
157157
date: '2025-01-29',
158158
}
159159

160-
const countdown2 = {
161-
type: 5,
162-
id: -5,
163-
topColor: 'linear-gradient(90deg, #FAD961 0%, #F76B1C 100%)',
164-
bgColor: 'rgb(235,129,124)',
165-
url: '',
166-
title: '距离休假过年还有',
167-
dateColor: '#fff',
168-
dayColor: '#fff',
169-
date: '2025-01-18',
170-
}
171-
172160
if (idx >= 0) {
173161
components[idx] = {
174162
...countdown,
175-
...countdown2,
176163
...components[idx],
177164
}
178165
components[idx].url = replaceJsdelivrCDN(components[idx].url, settings)

0 commit comments

Comments
 (0)