Compare commits
No commits in common. "2863076316b875a87bebdfd94c5a5a909b689be8" and "e2a17a38b96eb48545d3b036acd08e21bf2eaf1d" have entirely different histories.
2863076316
...
e2a17a38b9
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import { useState } from "react"
|
import { useState } from "react"
|
||||||
|
|
||||||
const NEWSLETTER_API = "https://newsletter.jeffemmett.com/subscribe"
|
const NEWSLETTER_API = "https://newsletter.jeffemmett.com/api/subscribe"
|
||||||
const LIST_UUID = "df598d1a-4bed-4a8b-8c36-a5a6346febf0" // Trippin list
|
const LIST_UUID = "df598d1a-4bed-4a8b-8c36-a5a6346febf0" // Trippin list
|
||||||
|
|
||||||
export function NewsletterSignup() {
|
export function NewsletterSignup() {
|
||||||
|
|
@ -18,7 +18,7 @@ export function NewsletterSignup() {
|
||||||
setStatus("loading")
|
setStatus("loading")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await fetch(NEWSLETTER_API, {
|
const response = await fetch(`${NEWSLETTER_API}/subscribe`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
services:
|
|
||||||
trippin-prod:
|
|
||||||
build:
|
|
||||||
context: .
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
image: trippin-prod:latest
|
|
||||||
container_name: trippin-prod
|
|
||||||
restart: unless-stopped
|
|
||||||
networks:
|
|
||||||
- traefik-public
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.trippin.rule=Host(`trippinballs.lol`) || Host(`www.trippinballs.lol`)"
|
|
||||||
- "traefik.http.routers.trippin.entrypoints=web"
|
|
||||||
- "traefik.http.services.trippin.loadbalancer.server.port=80"
|
|
||||||
- "traefik.docker.network=traefik-public"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
traefik-public:
|
|
||||||
external: true
|
|
||||||
Loading…
Reference in New Issue