restricting host access

This commit is contained in:
minjaesong
2021-10-27 19:37:23 +09:00
parent 886bea5ccb
commit 1c8261cc7e
5 changed files with 31 additions and 430 deletions

View File

@@ -264,7 +264,7 @@ let reset = () => {
states.candidates = ""
}
let getCandidatesUsingBuf = () => {
states.candidates = states.dict.get(states.buf) // comma-separated values
states.candidates = states.dict.getCangjie(states.buf) // comma-separated values
states.code = 1 + (states.candidates.length == 0)
// console.log(`cangjie in, buf: ${states.buf}, candidates: ${states.candidates}`)
return `${states.buf},${states.candidates}`