Compare commits

..

No commits in common. "e06c24ea211b7c2984a264ef47cb2f5e03ddb9fe" and "0ee81790935bf3e6f9d6bbf8e2654a0fbe549634" have entirely different histories.

2 changed files with 2 additions and 22 deletions

View File

@ -3,7 +3,7 @@
import { useState } from "react"
import { Button } from "@/components/ui/button"
const NEWSLETTER_API = "https://newsletter.jeffemmett.com/subscribe"
const NEWSLETTER_API = "https://newsletter.jeffemmett.com/api/subscribe"
const LIST_UUID = "0c541da4-3f04-4e72-978a-5a328b43c995" // Alltornet list
export function NewsletterSignup() {
@ -19,7 +19,7 @@ export function NewsletterSignup() {
setStatus("loading")
try {
const response = await fetch(NEWSLETTER_API, {
const response = await fetch(`${NEWSLETTER_API}/subscribe`, {
method: "POST",
headers: {
"Content-Type": "application/json",

View File

@ -1,20 +0,0 @@
services:
alltornet-prod:
build:
context: .
dockerfile: Dockerfile
image: alltornet-prod:latest
container_name: alltornet-prod
restart: unless-stopped
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.alltornet.rule=Host(`alltor.net`) || Host(`www.alltor.net`)"
- "traefik.http.routers.alltornet.entrypoints=web"
- "traefik.http.services.alltornet.loadbalancer.server.port=80"
- "traefik.docker.network=traefik-public"
networks:
traefik-public:
external: true