mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: remove extra log
This commit is contained in:
1 parent
710f7c7086
commit
a68a1851b2
2 files changed
+1
-2
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "3.1.22",
|
"version": "3.1.23",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "src/loader",
|
"main": "src/loader",
|
||||||
"module": "src/loader",
|
"module": "src/loader",
|
||||||
|
|||||||
@@ -319,7 +319,6 @@ export class ProblemDetailHandler extends ProblemHandler {
|
|||||||
// e.g.  will navigate to 
|
// e.g.  will navigate to 
|
||||||
if (!this.request.json) {
|
if (!this.request.json) {
|
||||||
if (args[1]) {
|
if (args[1]) {
|
||||||
console.log(this.response.body.pdoc.content);
|
|
||||||
this.response.body.pdoc.content = this.response.body.pdoc.content
|
this.response.body.pdoc.content = this.response.body.pdoc.content
|
||||||
.replace(/\(file:\/\/(.+?)\)/g, (str) => {
|
.replace(/\(file:\/\/(.+?)\)/g, (str) => {
|
||||||
const info = str.match(/\(file:\/\/(.+?)\)/);
|
const info = str.match(/\(file:\/\/(.+?)\)/);
|
||||||
|
|||||||
Reference in new issue
Block a user