mirror of
https://github.com/LBRYFoundation/lbry-tech.git
synced 2025-03-04 06:57:53 +00:00
create redirects
This commit is contained in:
parent
c42f36988b
commit
94dc96c68e
2 changed files with 24 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import codeblocks from "@thewebforge/astro-code-blocks";
|
import codeblocks from "@thewebforge/astro-code-blocks";
|
||||||
import preload from "astro-preload";
|
import preload from "astro-preload";
|
||||||
|
import * as config from './src/config.js';
|
||||||
|
|
||||||
import mdx from "@astrojs/mdx";
|
import mdx from "@astrojs/mdx";
|
||||||
|
|
||||||
|
@ -11,5 +12,6 @@ export default defineConfig({
|
||||||
// Copy Button Options
|
// Copy Button Options
|
||||||
copyButtonTitle: 'Copy',
|
copyButtonTitle: 'Copy',
|
||||||
copyButtonTooltip: 'Copied to clipboard',
|
copyButtonTooltip: 'Copied to clipboard',
|
||||||
}), mdx()]
|
}), mdx()],
|
||||||
|
redirects: config.REDIRECTS,
|
||||||
});
|
});
|
|
@ -1,6 +1,7 @@
|
||||||
export const AWESOME_LBRY = "https://github.com/LBRYFoundation/Awesome-LBRY";
|
export const AWESOME_LBRY = "https://github.com/LBRYFoundation/Awesome-LBRY";
|
||||||
export const EDIT_PAGE = "Edit this page";
|
export const EDIT_PAGE = "Edit this page";
|
||||||
export const REPOSITORY = "LBRYFoundation/lbry-tech";
|
export const REPOSITORY = "LBRYFoundation/lbry-tech";
|
||||||
|
export const GITHUB_ORG = "LBRYFoundation";
|
||||||
|
|
||||||
export const features = [
|
export const features = [
|
||||||
{
|
{
|
||||||
|
@ -68,4 +69,23 @@ export const featured = [
|
||||||
title: "Podcatcher",
|
title: "Podcatcher",
|
||||||
description: "Audio media crawler for lbry."
|
description: "Audio media crawler for lbry."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
export const REDIRECTS = {
|
||||||
|
"/api/blockchain": "/api/lbrycrd",
|
||||||
|
"/api/lbry": "/api/sdk",
|
||||||
|
"/api/protocol": "/api/sdk",
|
||||||
|
"/play": "/playground",
|
||||||
|
"/repository-standards": "/resources/repository-standards",
|
||||||
|
"/resources/lbry-claimtrie": "/spec#claimtrie",
|
||||||
|
"/resources/schema": "/spec#metadata",
|
||||||
|
"/resources/signing-claim": "/resources/claim-signing",
|
||||||
|
"/resources/uri": "/spec#urls",
|
||||||
|
"/resources/video-lbryandroid": "https://odysee.com/video-2018-10-15053403:e",
|
||||||
|
"/resources/video-lbrycrd": "https://odysee.com/intro-to-LBRYcrd:5",
|
||||||
|
"/resources/video-lbrydesktop": "https://odysee.com/LBRYAppDesign:7",
|
||||||
|
"/resources/video-lbrysdk": "https://odysee.com/@lbrytech:1/lbrynet-dev-setup:9",
|
||||||
|
"/specification": "/spec",
|
||||||
|
"/tour": "/playground",
|
||||||
|
"/whitepaper": "/spec"
|
||||||
|
}
|
Loading…
Reference in a new issue