Skip to content
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

chore: set local URL in development mode #3685

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

benoitf
Copy link
Collaborator

@benoitf benoitf commented Aug 28, 2023

What does this PR do?

When trying the website in development mode locally, some links are generated using the public URL which is podman-desktop.io

So if you have some new links/images they might reference links that are still not yet available remotely

Here it'll resolve them locally so if it works locally, after the merge it will also work in production mode

an example is the twitter:image links for example that will use the docusaurus config URL object and if you want to check locally it won't work as the link being generated is using podman-desktop.io

Screenshot/screencast of this PR

What issues does this PR fix or reference?

https://github.com/containers/podman-desktop/pull/3614/files#r1306822710

How to test this PR?

in production mode, keep the podman-desktop.io link

Signed-off-by: Florent Benoit <[email protected]>
@benoitf benoitf requested review from slemeur, themr0c and a team as code owners August 28, 2023 07:42
@benoitf benoitf requested review from dgolovin and cdrage and removed request for a team August 28, 2023 07:42
Copy link
Contributor

@lstocchi lstocchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@benoitf benoitf merged commit 70653bd into containers:main Aug 29, 2023
11 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.4.0 milestone Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants