diff --git a/api/src/public_api.ts b/api/src/public_api.ts index 3fe4240..4da6810 100644 --- a/api/src/public_api.ts +++ b/api/src/public_api.ts @@ -24,7 +24,7 @@ router.get('/stats', async (req, res) => { completedTasks: completedTasksCount[0]["COUNT(*)"], workers: stats.workers, threads: stats.threads, - loadavg: stats.loadAverage, + loadAverage: stats.loadAverage, activeTasks: stats.tasks, }); } catch (e) { diff --git a/frontend/src/lib/page.ts b/frontend/src/lib/page.ts index 33d92ca..ed04117 100644 --- a/frontend/src/lib/page.ts +++ b/frontend/src/lib/page.ts @@ -7,8 +7,8 @@ if (link) { link.innerHTML = 'Portal'; link.href = '/portal'; } else { - link.innerHTML = 'Log In'; - link.href = '/portal/login.html'; + link.innerHTML = 'Sign Up'; + link.href = '/portal/signup.html'; } } @@ -45,4 +45,4 @@ if (themeToggle) // If they have a preferred theme already const themeCookie = getCookie('theme') as 'dark' | 'light' | null; if (themeCookie) - setTheme(themeCookie); \ No newline at end of file + setTheme(themeCookie); diff --git a/frontend/static/index.html b/frontend/static/index.html index 1c8a45a..e64ae6d 100644 --- a/frontend/static/index.html +++ b/frontend/static/index.html @@ -114,9 +114,12 @@

How it works