From 707f554c369cff18a4014fde76a74eaa1a8e361f Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Thu, 18 Nov 2021 00:11:45 -0500 Subject: [PATCH] allow websockets from netlify.app subdomain for debugging --- Dockerfile | 4 ++-- host/socket.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8104d24..22ccc9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM docker.io/amd64/ubuntu:20.04 +FROM docker.io/ubuntu:20.04 LABEL maintainer="Jake Jarvis " LABEL repository="https://github.com/jakejarvis/y2k" -LABEL homepage="https://y2k.jarv.is/" +LABEL homepage="https://y2k.app/" ARG DEBIAN_FRONTEND=noninteractive diff --git a/host/socket.sh b/host/socket.sh index b66c67a..067974e 100755 --- a/host/socket.sh +++ b/host/socket.sh @@ -6,7 +6,7 @@ $REPO_DIR/host/websocketd \ --port=80 \ --binary \ --header-ws="Sec-WebSocket-Protocol: binary" \ - --origin=y2k.app,www.y2k.app \ + --origin=y2k.app,www.y2k.app,hardcore-turing-5cd513.netlify.app \ -- \ docker run \ --cpus 1 \