allow cors origin in config file, move resources from user to planet

This commit is contained in:
arnaucube
2019-06-17 18:59:46 +02:00
parent 8064e1d3b7
commit edfa4e6751
10 changed files with 250 additions and 233 deletions

View File

@@ -9,8 +9,9 @@ import (
type Config struct {
Server struct {
ServiceApi string
AdminApi string
ServiceApi string
AdminApi string
CorsOriginsAllowed string
}
Mongodb struct {
Url string