egg-cors
egg-cors copied to clipboard
U 更换 app.js 判断上下文 isSafeDomain 写法
好像这种写法更易懂些
Codecov Report
Merging #13 into master will not change coverage. The diff coverage is
100%
.
@@ Coverage Diff @@
## master #13 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 3 3
Lines 9 9
=====================================
Hits 9 9
Impacted Files | Coverage Δ | |
---|---|---|
app.js | 100% <100%> (ø) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b6ea4f2...4e20e27. Read the comment docs.
这个逻辑错了,没有safedomian判断函数也应该直接通过。看来测试覆盖率不够