DEBUG_AFRAME flag to test against local aframe

This commit is contained in:
Kevin Ngo
2018-11-14 22:44:49 -08:00
parent 5dd7166da2
commit 6045daeaa7
2 changed files with 4 additions and 1 deletions

View File

@@ -4,7 +4,9 @@
<title>Super Saber</title>
<meta name="description" content="Beat Saber on the VR Web with searchable and playable community songs from Beat Saver.">
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
{% if IS_PRODUCTION %}
{% if DEBUG_AFRAME %}
<script src="http://{{ HOST }}:9000/dist/aframe-master.js"></script>
{% elif IS_PRODUCTION %}
<script src="vendor/aframe-master.min.js"></script>
{% else %}
<script src="vendor/aframe-master.js"></script>