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 codeblocks from "@thewebforge/astro-code-blocks";
|
||||
import preload from "astro-preload";
|
||||
import * as config from './src/config.js';
|
||||
|
||||
import mdx from "@astrojs/mdx";
|
||||
|
||||
|
@ -11,5 +12,6 @@ export default defineConfig({
|
|||
// Copy Button Options
|
||||
copyButtonTitle: 'Copy',
|
||||
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 EDIT_PAGE = "Edit this page";
|
||||
export const REPOSITORY = "LBRYFoundation/lbry-tech";
|
||||
export const GITHUB_ORG = "LBRYFoundation";
|
||||
|
||||
export const features = [
|
||||
{
|
||||
|
@ -69,3 +70,22 @@ export const featured = [
|
|||
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