@@ -28,7 +28,7 @@ songs. Then simply serve it as a static site.
### Config
-The [config](dist/levels.json) is a simple JSON file with the following
+The [config](assets/levels.json) is a simple JSON file with the following
properties:
The following accept any CSS color
@@ -113,6 +113,7 @@
</template>
</div>
+ <script id="levels" type="text/plain">levels.json</script>
<script type="module" src="index.js"></script>
</body>
</html>
@@ -2,5 +2,5 @@ import { MainController } from './game';
new MainController(
document.querySelector('#container')!,
- 'levels.json'
+ document.querySelector('#levels')?.textContent!
).start();