Skip to content

Commit

Permalink
Merge pull request #119 from allproxy/v3-52-1
Browse files Browse the repository at this point in the history
V3 52 1: Handle invalid JSON format
  • Loading branch information
davechri authored Nov 21, 2024
2 parents 790fba2 + 19ee528 commit 33a7dfc
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 16 deletions.
12 changes: 6 additions & 6 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.59dadba0.css",
"main.js": "/static/js/main.2bf8f2f4.js",
"main.css": "/static/css/main.e8b3c1bc.css",
"main.js": "/static/js/main.1c9ac67d.js",
"static/js/787.44e022fc.chunk.js": "/static/js/787.44e022fc.chunk.js",
"static/media/fa-solid-900.svg": "/static/media/fa-solid-900.7a8b4f130182d19a2d7c.svg",
"static/media/fa-brands-400.svg": "/static/media/fa-brands-400.2f517e09eb2ca6650ff5.svg",
Expand All @@ -19,12 +19,12 @@
"static/media/fa-regular-400.woff": "/static/media/fa-regular-400.bb58e57c48a3e911f15f.woff",
"static/media/fa-regular-400.woff2": "/static/media/fa-regular-400.7a3337626410ca2f4071.woff2",
"index.html": "/index.html",
"main.59dadba0.css.map": "/static/css/main.59dadba0.css.map",
"main.2bf8f2f4.js.map": "/static/js/main.2bf8f2f4.js.map",
"main.e8b3c1bc.css.map": "/static/css/main.e8b3c1bc.css.map",
"main.1c9ac67d.js.map": "/static/js/main.1c9ac67d.js.map",
"787.44e022fc.chunk.js.map": "/static/js/787.44e022fc.chunk.js.map"
},
"entrypoints": [
"static/css/main.59dadba0.css",
"static/js/main.2bf8f2f4.js"
"static/css/main.e8b3c1bc.css",
"static/js/main.1c9ac67d.js"
]
}
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<link rel="manifest" href="manifest.json" />
<title>AllProxy</title>
<script>var exports = { __esModule: !0 }</script>
<script defer="defer" src="static/js/main.2bf8f2f4.js"></script>
<link href="static/css/main.59dadba0.css" rel="stylesheet">
<script defer="defer" src="static/js/main.1c9ac67d.js"></script>
<link href="static/css/main.e8b3c1bc.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
3 changes: 2 additions & 1 deletion docs/plugins/parsejson/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function parseJSON(preJSONString, jsonObject) {
let rawLine;
// Copy any JSON fields not defined in jsonObject
let additionalJSON = {};
let ignoreFields = [];

// Set the level
// level = jsonObject.m_level;
Expand All @@ -31,5 +32,5 @@ function parseJSON(preJSONString, jsonObject) {
// Set message
//message = jsonObject.my_message;

return { date, level, category, kind, message, rawLine, additionalJSON };
return { date, level, category, kind, message, rawLine, additionalJSON, ignoreFields };
}
1 change: 0 additions & 1 deletion docs/static/css/main.59dadba0.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/static/css/main.e8b3c1bc.css.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/static/js/main.1c9ac67d.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions docs/static/js/main.1c9ac67d.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions docs/static/js/main.2bf8f2f4.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/static/js/main.2bf8f2f4.js.map

This file was deleted.

0 comments on commit 33a7dfc

Please sign in to comment.