one more time
All checks were successful
Build and Push Docker Image / build (push) Successful in 48s

This commit is contained in:
2025-10-22 01:33:50 -07:00
parent 8fc3c0ae37
commit 981da971cd
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ RUN chmod +x /etc/services.d/backupbot/run
# Copy web frontend
COPY web /defaults/web
RUN chmod +x /defaults/web/backupbot.cgi
RUN chmod +x /defaults/web/cgi-bin/backupbot.cgi
# Expose web frontend port
EXPOSE 8080

View File

@@ -62,7 +62,7 @@
<script>
async function loadConfig() {
const res = await fetch('/config/web/backupbot.cgi?action=get');
const res = await fetch('/cgi-bin/backupbot.cgi?action=get');
const data = await res.json();
const form = document.getElementById('configForm');
Object.keys(data).forEach(key => {
@@ -74,7 +74,7 @@
e.preventDefault();
const formData = new FormData(document.getElementById('configForm'));
const obj = Object.fromEntries(formData.entries());
const res = await fetch('/config/web/backupbot.cgi?action=set', {
const res = await fetch('/cgi-bin/backupbot.cgi?action=set', {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify(obj)