diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index bcb416f..af3571f 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -2,9 +2,6 @@ name: "production deploy" on: workflow_dispatch: - push: - branches: - - master jobs: deploy: diff --git a/.github/workflows/sitetest.yml b/.github/workflows/sitetest.yml index 5b0eec2..8d32f86 100644 --- a/.github/workflows/sitetest.yml +++ b/.github/workflows/sitetest.yml @@ -2,9 +2,6 @@ name: "sitetest deploy" on: workflow_dispatch: - push: - branches: - - sitetest jobs: deploy: diff --git a/src/hooks.server.js b/src/hooks.server.js index 9351322..f9698bd 100644 --- a/src/hooks.server.js +++ b/src/hooks.server.js @@ -1,6 +1,6 @@ /** @type {import('@sveltejs/kit').Handle} */ export async function handle({ event, resolve }) { - if (event.url.pathname !== "/maintenance" && process.env.MAINTENANCE == "true" && process.env.PRODUCTION == "true") { + if (event.url.pathname !== "/maintenance" && process.env.MAINTENANCE) { return new Response("", { status: 302, headers: { Location: "/maintenance" } }); } diff --git a/src/routes/(nolayout)/login/+page.svelte b/src/routes/(nolayout)/login/+page.svelte index 8b6191f..88cf6e5 100644 --- a/src/routes/(nolayout)/login/+page.svelte +++ b/src/routes/(nolayout)/login/+page.svelte @@ -3,25 +3,10 @@
- -

Login to Rowblox!

- - - -
- Login + +
+ +
- -
\ No newline at end of file + +
diff --git a/src/routes/(nolayout)/register/+page.svelte b/src/routes/(nolayout)/register/+page.svelte index 34471a9..5bd5149 100644 --- a/src/routes/(nolayout)/register/+page.svelte +++ b/src/routes/(nolayout)/register/+page.svelte @@ -3,39 +3,12 @@
- -

Create an Account!

- - - - - -
- Register + +
+ + + +
- +
diff --git a/vite.config.js b/vite.config.js index e103e0a..fc9d5f4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,10 +1,7 @@ import { sveltekit } from "@sveltejs/kit/vite"; const config = { - plugins: [sveltekit()], - define: { - "process.env": process.env - } + plugins: [sveltekit()] }; export default config;