goofy
This commit is contained in:
parent
b466e585a1
commit
dcb0090196
2 changed files with 1 additions and 5 deletions
|
|
@ -9,10 +9,6 @@ services:
|
|||
COOKIE_SECURE: "true"
|
||||
volumes:
|
||||
- backend-uploads:/app/uploads
|
||||
ports:
|
||||
- "4000:4000"
|
||||
expose:
|
||||
- "4000"
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.backend.rule=Host(`backend.basetracker.lona-development.org`)
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { FormEvent, useEffect, useMemo, useRef, useState } from 'react';
|
|||
const defaultApiBase =
|
||||
process.env.NODE_ENV === 'production'
|
||||
? 'https://backend.basetracker.lona-development.org'
|
||||
: 'http://localhost:4100';
|
||||
: 'https://backend.dev.basetracker.lona-development.org';
|
||||
|
||||
// Normalize backend URL so production always uses HTTPS while keeping local HTTP.
|
||||
function normalizeApiBase(url: string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue