Initial commit - Church Music Database
This commit is contained in:
19
legacy-site/scripts/update-settings.js
Normal file
19
legacy-site/scripts/update-settings.js
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copy and paste this into browser console at http://houseofprayer.ddns.net:3000
|
||||
// Press F12 to open console, paste this, and press Enter
|
||||
|
||||
// Update API settings
|
||||
const newSettings = {
|
||||
protocol: "http",
|
||||
hostname: "houseofprayer.ddns.net",
|
||||
port: "8080",
|
||||
useLocalStorage: false,
|
||||
};
|
||||
|
||||
localStorage.setItem("api_settings", JSON.stringify(newSettings));
|
||||
|
||||
console.log("✓ Settings updated!");
|
||||
console.log("New settings:", newSettings);
|
||||
|
||||
// Reload the page to apply changes
|
||||
alert("Settings updated! Page will reload now.");
|
||||
window.location.reload();
|
||||
Reference in New Issue
Block a user