Add Last.fm music stats to about page
This commit is contained in:
1 parent
3122bc4bf9
commit
2d84d68c46
27 files changed
+1618
-4
No files matched your search
@@ -1,8 +1,11 @@
|
||||
import type { ServerInit } from '@sveltejs/kit';
|
||||
import { getDiscordClient } from '#lib/server/discord';
|
||||
import { refreshMusicCache } from '#lib/server/musicCache';
|
||||
import { startLastfmSync } from '#lib/server/lastfm/sync';
|
||||
import { about } from '#lib/content';
|
||||
|
||||
export const init: ServerInit = () => {
|
||||
getDiscordClient();
|
||||
refreshMusicCache();
|
||||
startLastfmSync(about.lastfmUsername);
|
||||
};
|
||||
Reference in new issue
Block a user