copy assets to webroot based on url

This commit is contained in:
Leon van Kammen 2025-01-14 15:43:03 +01:00
parent 57053d40c2
commit 43e5f82402
1 changed files with 1 additions and 2 deletions

3
.env
View File

@ -16,10 +16,9 @@ which nix && test -z "$NIX_SHELL_XRF" && {
echo '[i] installing nix-shell' && nix-shell 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 # on the website xrfragment.org copy examples to root-dir
# (so https://xrfragment.org/index.glb can be requested remotely) # (so https://xrfragment.org/index.glb can be requested remotely)
# because that really emphasizes a nice WebXR experience-at-website-root paradigm # because that really emphasizes a nice WebXR experience-at-website-root paradigm
cp -r example/assets . cp -r example/assets .
} }
set