mirror of
https://github.com/massgravel/massgrave.dev
synced 2026-01-17 01:04:27 -05:00
Fix redirects, thanks Magic for config i couldnt be bothered to do it myself
Some checks failed
Deploy to GitHub Pages / Build Docusaurus (push) Has been cancelled
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
Some checks failed
Deploy to GitHub Pages / Build Docusaurus (push) Has been cancelled
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
This commit is contained in:
@@ -70,6 +70,68 @@ const config = {
|
||||
],
|
||||
],
|
||||
|
||||
plugins: [
|
||||
[
|
||||
'@docusaurus/plugin-client-redirects',
|
||||
{
|
||||
redirects: [
|
||||
{
|
||||
from: '/get',
|
||||
to: 'https://massgrave.dev/get.ps1',
|
||||
},
|
||||
{
|
||||
from: '/redirect-genuine-installation-media',
|
||||
to: '/genuine-installation-media',
|
||||
},
|
||||
{
|
||||
from: ['/change_edition', '/change_edition.html'],
|
||||
to: '/change_windows_edition',
|
||||
},
|
||||
{
|
||||
from: '/in-place_repair_upgrade',
|
||||
to: 'https://gravesoft.dev/in-place_repair_upgrade',
|
||||
},
|
||||
{
|
||||
from: '/bypass-russian-geoblock',
|
||||
to: 'https://gravesoft.dev/bypass-russian-geoblock',
|
||||
},
|
||||
{
|
||||
from: '/fix-wpa-registry',
|
||||
to: 'https://gravesoft.dev/fix-wpa-registry',
|
||||
},
|
||||
{
|
||||
from: '/office_c2r_links',
|
||||
to: 'https://gravesoft.dev/office_c2r_links',
|
||||
},
|
||||
{
|
||||
from: '/office_c2r_custom',
|
||||
to: 'https://gravesoft.dev/office_c2r_custom',
|
||||
},
|
||||
{
|
||||
from: '/fix_powershell',
|
||||
to: 'https://gravesoft.dev/fix_powershell',
|
||||
},
|
||||
{
|
||||
from: '/remove_malware',
|
||||
to: 'https://gravesoft.dev/remove_malware',
|
||||
},
|
||||
{
|
||||
from: '/clean_install_windows',
|
||||
to: 'https://gravesoft.dev/clean_install_windows',
|
||||
},
|
||||
{
|
||||
from: '/msdl',
|
||||
to: 'https://msdl.gravesoft.dev/',
|
||||
},
|
||||
{
|
||||
from: '/api/msdl/proxy',
|
||||
to: 'https://msdl.gravesoft.dev/',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
],
|
||||
|
||||
themeConfig:
|
||||
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
|
||||
({
|
||||
|
||||
24
package-lock.json
generated
24
package-lock.json
generated
@@ -9,6 +9,7 @@
|
||||
"version": "0.0.0",
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.9.2",
|
||||
"@docusaurus/plugin-client-redirects": "^3.9.2",
|
||||
"@docusaurus/preset-classic": "3.9.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
@@ -3352,6 +3353,29 @@
|
||||
"react-dom": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/@docusaurus/plugin-client-redirects": {
|
||||
"version": "3.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-3.9.2.tgz",
|
||||
"integrity": "sha512-lUgMArI9vyOYMzLRBUILcg9vcPTCyyI2aiuXq/4npcMVqOr6GfmwtmBYWSbNMlIUM0147smm4WhpXD0KFboffw==",
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.9.2",
|
||||
"@docusaurus/logger": "3.9.2",
|
||||
"@docusaurus/utils": "3.9.2",
|
||||
"@docusaurus/utils-common": "3.9.2",
|
||||
"@docusaurus/utils-validation": "3.9.2",
|
||||
"eta": "^2.2.0",
|
||||
"fs-extra": "^11.1.1",
|
||||
"lodash": "^4.17.21",
|
||||
"tslib": "^2.6.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^18.0.0 || ^19.0.0",
|
||||
"react-dom": "^18.0.0 || ^19.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@docusaurus/plugin-content-blog": {
|
||||
"version": "3.9.2",
|
||||
"resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-3.9.2.tgz",
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "3.9.2",
|
||||
"@docusaurus/plugin-client-redirects": "^3.9.2",
|
||||
"@docusaurus/preset-classic": "3.9.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
"clsx": "^2.0.0",
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/get /get.ps1 301
|
||||
/api/msdl/proxy* https://msdl.gravesoft.dev/ 301
|
||||
/msdl* https://msdl.gravesoft.dev/ 301
|
||||
/in-place_repair_upgrade* https://gravesoft.dev/in-place_repair_upgrade 301
|
||||
/bypass-russian-geoblock* https://gravesoft.dev/bypass-russian-geoblock 301
|
||||
/fix-wpa-registry* https://gravesoft.dev/fix-wpa-registry 301
|
||||
/redirect-genuine-installation-media* /genuine-installation-media 301
|
||||
/change_edition /change_windows_edition 301
|
||||
/change_edition.html /change_windows_edition 301
|
||||
/idm-activation-script* https://github.com/WindowsAddict/IDM-Activation-Script 301
|
||||
/office_c2r_links* https://gravesoft.dev/office_c2r_links 301
|
||||
/office_c2r_custom* https://gravesoft.dev/office_c2r_custom 301
|
||||
/fix_powershell* https://gravesoft.dev/fix_powershell 301
|
||||
/remove_malware* https://gravesoft.dev/remove_malware 301
|
||||
/clean_install_windows* https://gravesoft.dev/clean_install_windows 301
|
||||
Reference in New Issue
Block a user