-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: use my.immich.app for externalDomain fallback #17209
Conversation
This is probably more useful than localhost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Port is unused now
@@ -117,7 +117,7 @@ describe('/shared-links', () => { | |||
const resp = await request(shareUrl).get(`/${linkWithAssets.key}`); | |||
expect(resp.status).toBe(200); | |||
expect(resp.header['content-type']).toContain('text/html'); | |||
expect(resp.text).toContain(`<meta property="og:image" content="http://`); | |||
expect(resp.text).toContain(`<meta property="og:image" content="https://my.immich.app`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the right thing to do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's weird but it's the correct test case, yes.
* feat: use my.immich.app for externalDomain fallback This is probably more useful than localhost. * chore: remove port param * fix: update expected value in tests * fix: update expected value in e2e
This is probably more useful than localhost.