Adding noscript message and moving the config to an example file to

ensure the user modifies for their fitness the file
This commit is contained in:
Sergiotarxz 2023-03-24 03:37:06 +01:00
parent 6451aebe6e
commit 28fe1189f3
3 changed files with 10 additions and 2 deletions

6
msgba-web.example.yml Normal file
View File

@ -0,0 +1,6 @@
---
# Substitute with your path to the msgba socket, this is the root of the project
# https://git.owlcode.tech/sergiotarxz/msgba
# Must be started in order of this project to work.
# You have to have read/write permissions for this path.
domain_socket: "/var/lib/msgba/msgba/msgba.sock"

View File

@ -1,2 +0,0 @@
---
domain_socket: "/home/sergio/msgba/msgba.sock"

View File

@ -5,6 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<noscript style="font-size: 40px">
<p>This GameBoy Advance emulator cannot work with javascript disabled.</p>
<p>You can have a copy of the source code at <a href="https://git.owlcode.tech/sergiotarxz/msgba-web">The msgba repo</a></p>
</noscript>
<script src="/js/bundle.js"></script>
</body>
</html>