mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
a70cd368af
* attempt to use fqdn for og:image opengraph image specifies that the url contains http or https, thus implying a fqdn. this change uses the external domain from the server config to attempt to make the og:image have both the existing path to the thumbnail along with the desired domain if the server setting is empty, the old behavior will persist please note, some og implementations do work with relative paths, so not all og image checkers may still pass, but not all implementations have this fallback and thus will not find the image otherwise * tests and ssr for og:image value as fqdn * formatting * fix test * formatting * formatting * fix tests getConfig was requiring authentication. using already initiated global stores instead * load config in shared link service itself * join host and pathname/params safely * use origin instead of host for full domain string also fixes lint and address the imageURL type which is optional * chore: clean up --------- Co-authored-by: eleith <eleith@lemon.localdomain> Co-authored-by: eleith <online-github@eleith.com> Co-authored-by: Jason Rasmussen <jason@rasm.me> |
||
---|---|---|
.. | ||
bin | ||
resources | ||
src | ||
test | ||
.eslintrc.js | ||
.gitignore | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
nest-cli.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
start.sh | ||
tsconfig.build.json | ||
tsconfig.json | ||
vitest.config.mjs |
Immich server project
This project uses the NestJS web framework. Please refer to the NestJS docs for information on getting started as a contributor to this project.