Merge pull request #504 from crawlab-team/develop

changed dir
This commit is contained in:
Marvin Zhang
2020-02-03 11:58:51 +08:00
committed by GitHub
60 changed files with 1 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ func InitSpiderService() error {
if model.IsMaster() {
// 添加Demo爬虫
templateSpidersDir := "../spiders"
templateSpidersDir := "./template/spiders"
for _, info := range utils.ListDir(templateSpidersDir) {
if !info.IsDir() {
continue