updated to portret recognize and moved app-config
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
|
||||
// Load configuration on page load
|
||||
async function loadConfig() {
|
||||
const response = await fetch(`${apiBase}/config`);
|
||||
const response = await fetch('/static/app_config.json'); // Updated path for app_config.json
|
||||
const config = await response.json();
|
||||
document.getElementById('player_orientation').value = config.player_orientation;
|
||||
document.getElementById('player_name').value = config.player_name;
|
||||
|
||||
Reference in New Issue
Block a user