Update file types: Add .log, remove .txt

- Support .json and .log file formats for load from disk
- Better suited for log filtering expression prototyping
- Remove .txt as it's not commonly used for JSON data
This commit is contained in:
2026-01-18 13:52:01 +01:00
parent be7d4502ac
commit 394b7e279c

View File

@@ -119,7 +119,7 @@ function App() {
const loadFromDisk = () => { const loadFromDisk = () => {
const fileInput = document.createElement('input'); const fileInput = document.createElement('input');
fileInput.type = 'file'; fileInput.type = 'file';
fileInput.accept = '.json,.txt'; fileInput.accept = '.json,.log';
fileInput.onchange = (event) => { fileInput.onchange = (event) => {
const file = event.target.files[0]; const file = event.target.files[0];
if (file) { if (file) {