copy assets to webroot based on url
This commit is contained in:
parent
57053d40c2
commit
43e5f82402
3
.env
3
.env
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue