Update src/trpc.ts

This commit is contained in:
Moritz Utcke
2024-11-04 17:30:37 +11:00
parent 9dd1a55940
commit 655e7e992c
2 changed files with 2 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: dev database api online-energieausweis all all/remote .PHONY: dev database api online-energieausweis all
online-energieausweis: online-energieausweis:
bun run dev bun run dev
@@ -13,12 +13,6 @@ api:
cd ../api cd ../api
bun run dev 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: all:
ENVIRONMENT=remote
mkdir -p ~/logs mkdir -p ~/logs
bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log bun run dev 2>&1 | tee ~/logs/`date '+%d-%m-%Y_%H:%M:%S'`.log

View File

@@ -6,7 +6,7 @@ import { Buffer } from 'buffer';
let url: string = 'http://localhost:3001/'; let url: string = 'http://localhost:3001/';
if (typeof window !== "undefined" && window.location.hostname !== "localhost") { if (typeof window !== "undefined" && window.location.hostname !== "localhost") {
url = "http://api.ibcornelsen.de/" url = "http://rpc.ibcornelsen.de/"
} }