Fix client-side issues: logo loading and JS errors

- Replace base64 logo with static file reference to avoid ERR_INVALID_URL
- Add missing status element to index.html to fix TypeError in XMLHttpRequest
- Reduce MAX_CONTENT_LENGTH from 1000TB to 100GB for practicality
- Update all templates to use logo_url instead of logo_b64
- Update Waitress max_request_body_size to match Flask limit
This commit is contained in:
nmemmert committed 2025-11-06 08:15:49 -05:00
1 parent c9e817547a
commit f4611c5aa4
5 files changed
+10 -8

No files matched your search

+2 -1
View File
@@ -150,7 +150,7 @@
</head>
<body>
<div class="header">
<img src="data:image/png;base64,{{ logo_b64 }}" alt="Logo" class="logo">
<img src="{{ logo_url }}" alt="Logo" class="logo">
<h1>End of Year Statements Processor</h1>
<p>Upload PDF files or folders to automatically sort by address and merge by page count</p>
@@ -192,6 +192,7 @@
<button type="submit" id="submitBtn">Process Files</button>
<button type="button" id="clearBtn" class="clear-btn">Clear/Reset</button>
</form>
<div id="status" style="margin-top: 10px; color: blue;"></div>
<div class="clear-progress" id="clearProgressContainer">
<p>Clearing temporary files...</p>
<progress id="clearProgress" value="0" max="100"></progress>