Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions k8s/k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
app.kubernetes.io/part-of: ctfpilot
app.kubernetes.io/name: instancing-fallback
app.kubernetes.io/version: 1.0.2
app.kubernetes.io/version: 1.0.3-r.2
app.kubernetes.io/component: challenges
ctfpilot.com/component: instancing-fallback

Expand All @@ -25,7 +25,7 @@ spec:
automountServiceAccountToken: false
containers:
- name: instancing-fallback
image: ghcr.io/ctfpilot/instancing-fallback:1.0.2
image: ghcr.io/ctfpilot/instancing-fallback:1.0.3-r.2
imagePullPolicy: Always
ports:
- name: http
Expand All @@ -51,7 +51,7 @@ metadata:
labels:
app.kubernetes.io/part-of: ctfpilot
app.kubernetes.io/name: instancing-fallback
app.kubernetes.io/version: 1.0.2
app.kubernetes.io/version: 1.0.3-r.2
app.kubernetes.io/component: challenges
ctfpilot.com/component: instancing-fallback
spec:
Expand Down
2 changes: 1 addition & 1 deletion src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const POLL_INTERVAL = 5000;

// Check subdomain matches
const subdomain = window.location.host.split(".")[0];
const re = new RegExp("^[a-z0-9-]+-[a-f0-9]{16}$");
const re = new RegExp("^[a-z0-9-]+-[a-f0-9]{16}(-[a-z0-9-]*)?$");
const parser = new DOMParser();

function errorHandler(e) {
Expand Down
Loading