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

Skip S3 check on S3 migrator command #194

Open
gamebits opened this issue Aug 18, 2022 · 0 comments
Open

Skip S3 check on S3 migrator command #194

gamebits opened this issue Aug 18, 2022 · 0 comments
Assignees

Comments

@gamebits
Copy link

The attachments-switch-local-images-urls-to-s3-urls scans post_content for references to locally hosted media. If it finds media that is also hosted in Amazon S3, it updates the post content to point to S3.

The command should probably skip that check and just update the domain regardless. A site that is using S3 is not hosting media locally, so leaving the domain unchanged still results in a broken link, whether or not the file is in S3. We want to be able to add the file to S3 later without going back and running the command again.

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

No branches or pull requests

2 participants