campfire/src/routes/[server]/[account]/[post]/+page.js

12 lines
272 B
JavaScript
Raw Normal View History

export async function load({ params }) {
2025-07-14 00:19:42 +01:00
let handle = params.account;
if (handle.startsWith('@'))
handle = handle.substring(1);
return {
server_host: params.server,
account_handle: params.account,
post_id: params.post
};
}