This commit is contained in:
2025-04-08 23:21:09 +02:00
parent 7c0ff1ab8d
commit bd33174b4a
2 changed files with 4 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ metadata:
labels: labels:
app: infra-map app: infra-map
name: infra-map name: infra-map
namespace: infra-map namespace: ${NAMESPACE}
spec: spec:
replicas: 2 replicas: 2
selector: selector:
@@ -18,7 +18,7 @@ spec:
app: infra-map app: infra-map
spec: spec:
containers: containers:
- image: ghcr.io/kevinmidboe/infra-map:282a33eedd3d93e2df508fe0153c81e65454ea13 - image: ${IMAGE}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: infra-map name: infra-map
env: env:

View File

@@ -4,6 +4,8 @@ import { dev } from '$app/environment';
export const handle: Handle = async ({ event, resolve }) => { export const handle: Handle = async ({ event, resolve }) => {
if (dev) { if (dev) {
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
} else {
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
} }
return await resolve(event); return await resolve(event);