Skip to content

Commit

Permalink
Update default config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuri committed Dec 18, 2016
1 parent bdee87c commit f508da1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 4 additions & 1 deletion aurora.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
servers = []
listen = "127.0.0.1:3000"
version = 1.6
version = 1.7

[openpage]
enabled = true

[auth]
enabled = false
Expand Down
6 changes: 1 addition & 5 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,7 @@ func TestCurrentTubeJobsActionsRow(t *testing.T) {
var req *http.Request
var cookie http.Cookie
var client = &http.Client{}
selfDir, err := filepath.Abs(filepath.Dir(os.Args[0]))
if err != nil {
return
}
selfConf := selfDir + string(os.PathSeparator) + `aurora.toml`
selfConf := `.` + string(os.PathSeparator) + `aurora.toml`
os.Remove(selfConf)
createFile(selfConf)
writeFile(selfConf, configFileWithSampleJobs)
Expand Down

0 comments on commit f508da1

Please sign in to comment.