update Package & little fix

This commit is contained in:
CodeKyana 2024-08-01 00:15:05 +02:00
parent 62832e8deb
commit 4518a20eed
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,9 @@
{
"name": "ninjin.sk",
"name": "dbninjin.svelte",
"description": "New version of the Ninjin website now in version 2 with a new framework.",
"author": "AnotherFrench <https://anotherfrench.github.io>",
"bugs": "<https://github.com/orgs/NinjinMC/discussions/categories/bugs>",
"licence": "GPL-3.0",
"version": "0.0.1",
"private": true,
"scripts": {

View File

@ -1,5 +1,3 @@
export const prerender = true;
export function load({ cookies }) {
return {
revertNinjinLogo: cookies.get('ninjin_af#eg@api/activate-revert-logo') || 'false'

View File

@ -38,7 +38,7 @@ export function load({ params, url }) {
case 'download/launcher':
redirect(
302,
`https://github.com/NinjinMC/Ninjin/raw/master/download/NinjinLauncherBootstrap.jar`
`https://github.com/Hedaox/Ninjin/raw/master/download/NinjinLauncherBootstrap.jar`
);
default:
redirect(302, `/`);