mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
支持Spiderfile高亮
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
return 'text/x-php'
|
||||
} else if (fileName.match(/\.md$/)) {
|
||||
return 'text/x-markdown'
|
||||
} else if (fileName === 'Spiderfile') {
|
||||
} else if (fileName.match('Spiderfile')) {
|
||||
return 'text/x-yaml'
|
||||
} else {
|
||||
return 'text'
|
||||
|
||||
Reference in New Issue
Block a user