fix cloudflare build

This commit is contained in:
donut 2025-02-19 02:23:44 -05:00
parent 16e316f950
commit d94e732df3
2 changed files with 7 additions and 7 deletions

View file

@ -2,12 +2,12 @@
import { defineConfig } from 'astro/config';
import tailwindcss from "@tailwindcss/vite";
import node from '@astrojs/node';
import cloudflare from '@astrojs/cloudflare';
// https://astro.build/config
export default defineConfig({
adapter: node({
mode: 'standalone',
adapter: cloudflare({
}),
output: "server",
vite: { plugins: [tailwindcss()], },
});

View file

@ -1,7 +1,7 @@
export default class Consts {
static readonly WINDOWS_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.81/ryujinx-1.2.81-win_x64.zip" as const;
static readonly MACOS_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.81/ryujinx-1.2.81-macos_universal.app.tar.gz" as const;
static readonly LINUX_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.81/ryujinx-1.2.81-linux_x64.tar.gz" as const;
static readonly LINUXARM_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.81/ryujinx-1.2.81-linux_arm64.tar.gz" as const;
static readonly WINDOWS_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.82/ryujinx-1.2.82-win_x64.zip" as const;
static readonly MACOS_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.82/ryujinx-1.2.82-macos_universal.app.tar.gz" as const;
static readonly LINUX_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.82/ryujinx-1.2.82-linux_x64.tar.gz" as const;
static readonly LINUXARM_URL = "https://github.com/Ryubing/Ryujinx/releases/download/1.2.82/ryujinx-1.2.82-linux_arm64.tar.gz" as const;
static readonly GITHUB_URL = "https://github.com/Ryubing/Ryujinx/releases" as const;
}