Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
dvtate committed May 8, 2023
2 parents 09209db + 960e680 commit e896581
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/lib/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}

Expand Down Expand Up @@ -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);
setTheme(themeCookie);
7 changes: 5 additions & 2 deletions frontend/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,12 @@ <h2>How it works</h2>

<footer class="ms-footer">
<div class="container">
<p><a href="https://Github.com/dvtate/xssaas" target="_blank">Proudly Free and Open Source</a>
<p><a href="https://Github.com/dvtate/XSSFaaS" target="_blank">Proudly Free and Open Source</a>
- <a href="worker/">Worker Page</a>
- <a href="portal/">User Portal</a></p>
- <a href="portal/">User Portal</a>
- <a href="portal/signup.html">Sign Up</a>
- <a href="portal/login.html">Log In</a>
- <a href="https://GitHub.com/dvtate/XSSFaaS/wiki">Wiki</a>
</div>
</footer>
<script src="js/page.bundle.js" async defer></script>
Expand Down

0 comments on commit e896581

Please sign in to comment.