core: remove pdoc.config (use config.yaml instead)

This commit is contained in:
undefined committed 2021-01-24 11:57:51 +08:00
1 parent 6fbb7588e1
commit d1e119fe7f
7 files changed
+53 -29

No files matched your search

-3
View File
@@ -358,9 +358,6 @@ export class ProblemSettingsHandler extends ProblemManageHandler {
[this.pdoc.title, 'problem_detail', { pid }, true],
['problem_settings', null],
];
if (this.response.body.pdoc.config) {
this.response.body.pdoc.config = yaml.dump(this.response.body.pdoc.config);
}
}
@param('pid', Types.String, null, parsePid)