From 43e5f824020f9154352be4463d5400dac9dfea5f Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Tue, 14 Jan 2025 15:43:03 +0100 Subject: [PATCH] copy assets to webroot based on url --- .env | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.env b/.env index 9382ed7..c11715b 100644 --- a/.env +++ b/.env @@ -16,10 +16,9 @@ which nix && test -z "$NIX_SHELL_XRF" && { echo '[i] installing nix-shell' && nix-shell } -test $(hostname) = 2wa && { +test GITEA_ROOT_URL "https://forgejo.isvery.ninja" && { # on the website xrfragment.org copy examples to root-dir # (so https://xrfragment.org/index.glb can be requested remotely) # because that really emphasizes a nice WebXR experience-at-website-root paradigm cp -r example/assets . } - set