add serverside-randirect helper
This commit is contained in:
parent
6fc163e2cc
commit
2b9cdeb329
1 changed files with 3 additions and 0 deletions
|
@ -216,6 +216,9 @@ export const static_url = (res: string) => `https://static.pyrope.net/${res}`;
|
|||
export const randirect = (...urls: string[]) =>
|
||||
`https://pyrope.net/randirect#${urls.join("::")}`;
|
||||
|
||||
export const serverside_randirect = (...urls: string[]) =>
|
||||
`https://pyrope.net/serverside-randirect?${urls.join("::")}`;
|
||||
|
||||
// could do some [T, ...T[]] shenanigans for totality but meh
|
||||
// kinda bad name
|
||||
// unhappy with the randomness so i'm going way overkill lol
|
||||
|
|
Loading…
Reference in a new issue