Misc changes, notably moving ProxyRegistrar out of Layout.astro

This commit is contained in:
wearrrrr 2024-04-04 12:04:32 -05:00
parent 772ad1a884
commit 760e1b8ec8
3 changed files with 2 additions and 3 deletions

View file

@ -9,7 +9,6 @@ const proxyList = [
{ name: t("settings.proxy.auto"), value: "auto" },
{ name: t("ultraviolet"), value: "ultraviolet" },
{ name: "Rammerhead", value: "rammerhead" },
{ name: "Dynamic", value: "dynamic" },
];
const searchEngineList = [

View file

@ -5,7 +5,6 @@ import Footer from "@components/UI/Footer.astro";
import ThemeLoader from "@components/ThemeLoader.astro";
import CloakLoader from "@components/CloakLoader.astro";
import WelcomeLogging from "@components/WelcomeLogging.astro";
import ProxyRegistrar from "@components/ProxyRegistrar.astro";
type Preload = {
href: string;
@ -70,7 +69,6 @@ const { title, optionalPreloads } = Astro.props;
<Header />
<slot transition:animate={"fade"} />
<WelcomeLogging />
<ProxyRegistrar />
<Footer />
<style is:global>
:root {

View file

@ -3,6 +3,7 @@ import Layout from "../../layouts/Layout.astro";
import { STATIC_PATHS, i18n } from "@i18n/utils";
import Link from "@components/UI/Link.astro";
import ProxyRegistrar from "@components/ProxyRegistrar.astro";
const t = i18n.inferLangUseTranslations(Astro.url);
export function getStaticPaths() {
@ -60,6 +61,7 @@ export function getStaticPaths() {
</div>
</div>
</div>
<ProxyRegistrar />
</Layout>
<script>
import { TransportMgr } from "@components/ts/TransportManager";