Skip to content

Commit 70e6f75

Browse files
Apply suggestions from code review
1 parent 5a254d8 commit 70e6f75

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import marked from 'marked'
22

33
marked.setOptions({
44
gfm: true,
5-
// sanitize: true, SWITCH to https://github.com/cure53/DOMPurify
5+
sanitize: true, // SWITCH to https://github.com/cure53/DOMPurify
66
smartLists: true,
77
})
88

@@ -144,7 +144,6 @@ export function request (method, path, config) {
144144
xhr.open(method, url)
145145
xhr.setRequestHeader('Accept', 'application/json')
146146
xhr.onload = () => {
147-
console.log(config.expected_statuses, xhr.status)
148147
if (config.expected_statuses.includes(xhr.status)) {
149148
const data = JSON.parse(xhr.responseText)
150149
if (config.expected_statuses.length === 1) {

0 commit comments

Comments
 (0)