mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-29 15:14:56 +02:00
add pass access token in headers
This commit is contained in:
parent
74d6b3d902
commit
6cc4bc2645
14 changed files with 333 additions and 161 deletions
|
@ -3,11 +3,3 @@ export function constructShareLink(
|
|||
) {
|
||||
return `${window.location.origin}/s/${token!}`;
|
||||
}
|
||||
|
||||
export function constructDirectShareLink(
|
||||
param: string,
|
||||
resourceUrl: string,
|
||||
token: string
|
||||
) {
|
||||
return `${resourceUrl}?${param}=${token}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue