mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat(web,server): external domain setting (#6146)
* feat: external domain setting * chore: open api * mobile: handle serverconfig-externalDomain --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
1e503c3212
commit
317adc5c28
35 changed files with 433 additions and 23 deletions
|
|
@ -19,6 +19,10 @@ export const copyToClipboard = async (secret: string) => {
|
|||
}
|
||||
};
|
||||
|
||||
export const makeSharedLinkUrl = (externalDomain: string, key: string) => {
|
||||
return `${externalDomain || window.location.origin}/share/${key}`;
|
||||
};
|
||||
|
||||
export const oauth = {
|
||||
isCallback: (location: Location) => {
|
||||
const search = location.search;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue