Skip to content

Commit

Permalink
Switch to CF Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyfallWasTaken committed Sep 3, 2024
1 parent b6a4775 commit ae7a0f0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Vortex

Vortex is a solution to the common problem of email inbox clutter. It provides temporary email addresses for signing up to newsletters, websites, and services that require an email, without compromising your primary email address. A hosted instance is available at https://vortex.skyfall.dev!
Vortex is a solution to the common problem of email inbox clutter. It provides temporary email addresses for signing up to newsletters, websites, and services that require an email, without compromising your primary email address. A hosted instance is available at <https://vortex.skyfall.dev>!

![e4494707-0aa6-4c93-aa64-25a0d0c0f7cc-image](https://github.com/SkyfallWasTaken/vortex.email/assets/55807755/96ed167b-5ace-4b25-ae4a-1b4e1053919f)

## Why Vortex?

- Generate disposable email addresses
- Protect your primary email from spam and unwanted newsletters
- Ideal for one-time signups and temporary accounts _(looking at you, Quora)_
Expand Down Expand Up @@ -66,7 +67,7 @@ bun dev

#### Frontend

Run it anywhere, e.g. Vercel. Ensure environment variables are set.
Run it anywhere, e.g. Cloudflare Pages. Ensure environment variables are set.

#### Backend

Expand All @@ -87,4 +88,5 @@ And finally, this Caddy reverse proxy command:
```bash
caddy reverse-proxy --from <your api domain> --to :3000
```

<br>
Binary file modified frontend/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@macfja/svelte-persistent-store": "^2.4.1",
"@skeletonlabs/skeleton": "^2.10.2",
"@skeletonlabs/tw-plugin": "^0.4.0",
"@sveltejs/adapter-auto": "^3.2.4",
"@sveltejs/adapter-cloudflare": "^4.7.2",
"@sveltejs/kit": "^2.5.24",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tailwindcss/forms": "^0.5.7",
Expand Down
5 changes: 1 addition & 4 deletions frontend/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-cloudflare';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
Expand All @@ -8,9 +8,6 @@ const config = {
preprocess: vitePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
Expand Down

0 comments on commit ae7a0f0

Please sign in to comment.