Fix latest commit
This commit is contained in:
parent
89279a6735
commit
dc72461a68
|
@ -457,7 +457,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
const res = await fetch('/api/github-updates');
|
const res = await fetch('/api/latest-commit');
|
||||||
const { updates } = await res.json();
|
const { updates } = await res.json();
|
||||||
const u = updates[0];
|
const u = updates[0];
|
||||||
const commitUrl = `https://github.com/xojw/waves/commit/${u.sha}`;
|
const commitUrl = `https://github.com/xojw/waves/commit/${u.sha}`;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user