kopia lustrzana https://github.com/cloudflare/wildebeest
8 wiersze
237 B
TypeScript
8 wiersze
237 B
TypeScript
|
export type Activity = any
|
||
|
|
||
|
// Generate a unique ID. Note that currently the generated URL aren't routable.
|
||
|
export function uri(domain: string): URL {
|
||
|
const id = crypto.randomUUID()
|
||
|
return new URL('/ap/a/' + id, 'https://' + domain)
|
||
|
}
|