forked from coracle/zooid
Use schema config option instead of hostname
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ func EnableBlossom(instance *Instance) {
|
||||
|
||||
store := &EventStore{
|
||||
Schema: &Schema{
|
||||
Name: slug.Make(instance.Host) + "_blossom__",
|
||||
Name: slug.Make(config.Self.Schema) + "__blossom",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@ func MakeInstance(hostname string) (*Instance, error) {
|
||||
Config: config,
|
||||
Events: &EventStore{
|
||||
Schema: &Schema{
|
||||
Name: slug.Make(hostname),
|
||||
Name: slug.Make(config.Self.Schema) + "__events",
|
||||
},
|
||||
},
|
||||
Relay: khatru.NewRelay(),
|
||||
|
||||
Reference in New Issue
Block a user