Update API base URL to 'http://goyave' in background, options, and popup scripts
All checks were successful
Create Release / build-and-release (push) Successful in 6s
All checks were successful
Create Release / build-and-release (push) Successful in 6s
This commit is contained in:
@@ -14,7 +14,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
if (result.apiBaseUrl) {
|
||||
apiBaseUrlInput.value = result.apiBaseUrl;
|
||||
} else {
|
||||
apiBaseUrlInput.value = 'http://192-168-100-199.sslip.io';
|
||||
apiBaseUrlInput.value = 'http://goyave';
|
||||
}
|
||||
|
||||
// Save settings
|
||||
@@ -22,7 +22,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
e.preventDefault();
|
||||
|
||||
const apiToken = apiTokenInput.value.trim();
|
||||
const apiBaseUrl = apiBaseUrlInput.value.trim() || 'http://192-168-100-199.sslip.io';
|
||||
const apiBaseUrl = apiBaseUrlInput.value.trim() || 'http://goyave';
|
||||
|
||||
if (!apiToken) {
|
||||
showStatus('Please enter an API token', 'error');
|
||||
@@ -57,7 +57,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
||||
|
||||
async function testConnection() {
|
||||
const apiToken = apiTokenInput.value.trim();
|
||||
const apiBaseUrl = apiBaseUrlInput.value.trim() || 'http://192-168-100-199.sslip.io';
|
||||
const apiBaseUrl = apiBaseUrlInput.value.trim() || 'http://goyave';
|
||||
|
||||
if (!apiToken) {
|
||||
showStatus('Please enter an API token first', 'error');
|
||||
|
||||
Reference in New Issue
Block a user