Skip to content

Commit

Permalink
archive org (#1)
Browse files Browse the repository at this point in the history
* archive.org

* archive.org
  • Loading branch information
dioraman authored May 25, 2020
1 parent e54eac6 commit 0751e87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/post-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
</form>
{validURL(this.state.postForm.url) && (
<a
href={`${archiveUrl}/?run=1&url=${encodeURIComponent(
href={`${archiveUrl}/save/${encodeURIComponent(
this.state.postForm.url
)}`}
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const repoUrl = 'https://github.com/LemmyNet/lemmy';
export const helpGuideUrl = '/docs/about_guide.html';
export const markdownHelpUrl = `${helpGuideUrl}#markdown-guide`;
export const sortingHelpUrl = `${helpGuideUrl}#sorting`;
export const archiveUrl = 'https://archive.is';
export const archiveUrl = 'https://web.archive.org';

export const postRefetchSeconds: number = 60 * 1000;
export const fetchLimit: number = 20;
Expand Down

0 comments on commit 0751e87

Please sign in to comment.