From 655e7e992ca98912952e0a59a334150967bc64cf Mon Sep 17 00:00:00 2001 From: Moritz Utcke Date: Mon, 4 Nov 2024 17:30:37 +1100 Subject: [PATCH] Update src/trpc.ts --- Makefile | 8 +------- src/trpc.ts | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7022b3b1..79daca17 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: dev database api online-energieausweis all all/remote +.PHONY: dev database api online-energieausweis all online-energieausweis: bun run dev @@ -13,12 +13,6 @@ api: cd ../api bun run dev -all/remote: - ENVIRONMENT=remote - mkdir -p ~/logs - bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log - all: - ENVIRONMENT=remote mkdir -p ~/logs bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log diff --git a/src/trpc.ts b/src/trpc.ts index 367ef828..963d6f71 100644 --- a/src/trpc.ts +++ b/src/trpc.ts @@ -6,7 +6,7 @@ import { Buffer } from 'buffer'; let url: string = 'http://localhost:3001/'; if (typeof window !== "undefined" && window.location.hostname !== "localhost") { - url = "http://api.ibcornelsen.de/" + url = "http://rpc.ibcornelsen.de/" }