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:
+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.
|
||||
|
||||
Reference in New Issue
Block a user