refactor: clean up unused variables and improve .gitignore entries

This commit is contained in:
2025-07-28 09:51:46 +02:00
parent 739fe7e764
commit 3286b64836
3 changed files with 36 additions and 7 deletions

39
.gitignore vendored
View File

@@ -1,8 +1,41 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/
.aider*
.DS_Store
._*
**/.DS_Store
**/.Spotlight-V100
**/.Trashes
**/.fseventsd
.AppleDouble
**/.DS_Store
**/.Spotlight-V100
**/.Trashes
**/.fseventsd
.AppleDouble
.aider.chat.history.md
.aider.input.history
.DS_Store
.gitignore
.aider.tags.cache.v3/cache.db
.aider.tags.cache.v3/cache.db-shm
.aider.tags.cache.v3/cache.db-wal
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
.vscode/extensions.json
.vscode/settings.json
data
.vscode/launch.json
include/README
lib/README
test/README
.aider*
data/*
!data/
!data/.gitkeep
html/bambu_credentials.json
html/spoolman_url.json
_local/*
website/*
release.sh
.github/copilot-instructions.md
data

View File

@@ -599,8 +599,6 @@ bool saveSpoolmanUrl(const String& url, bool octoOn, const String& octo_url, con
octoUrl = octo_url;
octoToken = octoTk;
doc.clear();
return true;
}

View File

@@ -273,8 +273,6 @@ void setupWebserver(AsyncWebServer &server) {
html.replace("{{autoSendToBambu}}", bambuCredentials.autosend_enable ? "checked" : "");
html.replace("{{autoSendTime}}", (bambuCredentials.autosend_time != 0) ? String(bambuCredentials.autosend_time) : String(BAMBU_DEFAULT_AUTOSEND_TIME));
doc.clear();
request->send(200, "text/html", html);
});