forked from cerc-io/ipld-eth-server
Move environment configuration to root
This commit is contained in:
1 parent
1889dcad5a
commit
a23023f7d6
4 files changed
+3
-3
No files matched your search
@@ -27,7 +27,7 @@ var NewErrConfigFileNotFound = func(environment string) error {
|
||||
|
||||
func NewConfig(environment string) (*Config, error) {
|
||||
filenameWithExtension := fmt.Sprintf("%s.toml", environment)
|
||||
absolutePath := filepath.Join(ProjectRoot(), "pkg", "config", "environments", filenameWithExtension)
|
||||
absolutePath := filepath.Join(ProjectRoot(), "environments", filenameWithExtension)
|
||||
config, err := parseConfigFile(absolutePath)
|
||||
if err != nil {
|
||||
return nil, NewErrConfigFileNotFound(environment)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
[database]
|
||||
name = "vulcanize_private"
|
||||
hostname = "localhost"
|
||||
port = 5432
|
||||
|
||||
[client]
|
||||
ipcPath = "test_data_dir/geth.ipc"
|
||||
Reference in new issue
Block a user