diff options
| author | Fuwn <[email protected]> | 2023-12-18 02:16:57 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-18 02:16:57 -0800 |
| commit | 838503db1da64b36b8fad68b1e1e3808930c2d0c (patch) | |
| tree | 26e34ca56f99f47698bd1c9730e14700843deb23 | |
| parent | fix(wrapped): activity history default on (diff) | |
| download | due.moe-838503db1da64b36b8fad68b1e1e3808930c2d0c.tar.xz due.moe-838503db1da64b36b8fad68b1e1e3808930c2d0c.zip | |
chore(vite): remove https
| -rw-r--r-- | vite.config.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vite.config.ts b/vite.config.ts index 8f308d86..2737c408 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,14 +5,14 @@ import { defineConfig } from 'vite'; export default defineConfig({ plugins: [sveltekit() /* webSocketServer */], server: { - https: { - key: Bun.env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') - ? await Bun.file(`${import.meta.dir}/certificates/key.pem`).text() - : undefined, - cert: Bun.env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') - ? await Bun.file(`${import.meta.dir}/certificates/certificate.pem`).text() - : undefined - }, + // https: { + // key: Bun.env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') + // ? await Bun.file(`${import.meta.dir}/certificates/key.pem`).text() + // : undefined, + // cert: Bun.env.PUBLIC_ANILIST_REDIRECT_URI?.includes('192.168') + // ? await Bun.file(`${import.meta.dir}/certificates/certificate.pem`).text() + // : undefined + // }, proxy: {} } }); |