Skip to content

Commit

Permalink
use local config source default
Browse files Browse the repository at this point in the history
  • Loading branch information
zu1k committed Aug 20, 2020
1 parent d92cd20 commit 1a713ed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 322 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

var (
NeedFetch = true
Url = "https://raw.githubusercontent.com/zu1k/proxypool/master/source.yaml"
Url = "source.yaml"
)

type Source struct {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {

envConfigFilePath := os.Getenv("CONFIG_FILE")
if envConfigFilePath == "" {
envConfigFilePath = "https://raw.githubusercontent.com/zu1k/proxypool/master/source.yaml"
envConfigFilePath = "source.yaml"
}

if configFilePath != "" {
Expand Down
320 changes: 0 additions & 320 deletions source.yaml

This file was deleted.

0 comments on commit 1a713ed

Please sign in to comment.