mirror of
https://github.com/iritmaximus/workh.git
synced 2026-10-12 19:13:33 +03:00
[Meta] Change spelling to WorkH
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# workh — working hours tracker
|
||||
# WorkH — working hours tracker
|
||||
|
||||
Log your daily hours, see how much you are over/under your weekly target,
|
||||
and keep a running balance of extra/minus hours.
|
||||
|
||||
+2
-2
@@ -180,7 +180,7 @@ export function createApp(overrides: Partial<AppOptions> = {}) {
|
||||
}
|
||||
if (legacy) {
|
||||
fs.renameSync(o.legacyDataFile, `${o.legacyDataFile}.migrated`);
|
||||
console.log(`workh: moved ${o.legacyDataFile} into the new account "${user.username}"`);
|
||||
console.log(`WorkH: moved ${o.legacyDataFile} into the new account "${user.username}"`);
|
||||
}
|
||||
signupLimiter.hit(ip);
|
||||
startSession(res, user);
|
||||
@@ -241,7 +241,7 @@ export function createApp(overrides: Partial<AppOptions> = {}) {
|
||||
return;
|
||||
}
|
||||
store.delete(user.id);
|
||||
console.log(`workh: deleted account "${user.username}"`);
|
||||
console.log(`WorkH: deleted account "${user.username}"`);
|
||||
res.clearCookie(COOKIE, cookieOptions);
|
||||
res.status(204).end();
|
||||
});
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ import { createApp } from './app';
|
||||
import { DATA_DIR, PORT } from './config';
|
||||
|
||||
const server = createApp().listen(PORT, () => {
|
||||
console.log(`workh listening on http://localhost:${PORT} (data: ${DATA_DIR})`);
|
||||
console.log(`WorkH listening on http://localhost:${PORT} (data: ${DATA_DIR})`);
|
||||
});
|
||||
|
||||
// Exit promptly when Kubernetes / Docker stops the container.
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>workh</title>
|
||||
<title>WorkH</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in New Issue
Block a user